mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
update faq
This commit is contained in:
@@ -48,7 +48,8 @@ No.
|
||||
|
||||
##### Can arthas view the value of a variable in memory?
|
||||
|
||||
No. But you can use some tricks to intercept the object with the `tt` command, or fetch it from a static method.
|
||||
1. You can use [`vmtool`](vmtool.md) command.
|
||||
2. You can use some tricks to intercept the object with the [`tt`](tt.md) command, or fetch it from a static method.
|
||||
|
||||
|
||||
##### How to filter method with the same name?
|
||||
|
||||
@@ -47,7 +47,8 @@ options json-format true
|
||||
|
||||
##### 能不能查看内存里某个变量的值
|
||||
|
||||
不能。但可以用一些技巧,用`tt`命令拦截到对象,或者从静态函数里取到对象。
|
||||
1. 可以使用[`vmtool`](vmtool.md)命令。
|
||||
2. 可以用一些技巧,用[`tt`](tt.md)命令拦截到对象,或者从静态函数里取到对象。
|
||||
|
||||
|
||||
##### 方法同名过滤
|
||||
|
||||
Reference in New Issue
Block a user