Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arthas汇总整理 #1

Open
younggungun opened this issue Mar 14, 2023 · 0 comments
Open

Arthas汇总整理 #1

younggungun opened this issue Mar 14, 2023 · 0 comments

Comments

@younggungun
Copy link
Owner

younggungun commented Mar 14, 2023

1、参考文档

官方文档
arthas idea plugin 使用文档

2、Arthas的一些特殊用法文档说明

3、redefine 和 retransform

  1. 目前redefine 命令和 watch/trace/jad/tt等命令冲突
  2. reset 命令对redefine 命令无效。如果想重置需要redefine原始的字节码。
    热部署限制:
  3. 不允许新增加field/method
  4. 正在跑的函数没有退出不能生效。

查看sql语句
watch java.sql.Connection prepareStatement '{params,throwExp}' -n 5 -x 3

watch org.apache.ibatis.mapping.BoundSql getSql '{params,returnObj,throwExp}' -n 5 -x 3

@younggungun younggungun changed the title top Arthas汇总整理 Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant