-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
vmtool调用方法时如果多个参数问题 #2843
Comments
use arthas idea plugin 2.46 ,参考下面的issue WangJi92/arthas-idea-plugin#127 通过 json 序列化,不过这个过程 插件帮你搞定了构造的过程修改一下参数就行了,非常easy vmtool -x 3 --action getInstances --className com.wangji92.arthas.plugin.demo.controller.CommonController --express 'instances[0].testParam(@com.alibaba.fastjson.JSON@parseObject("{\"name\":\" \",\"age\":0}",@com.wangji92.arthas.plugin.demo.controller.User@class),@com.alibaba.fastjson.JSON@parseObject("{\"name\":\" \",\"age\":0}",@com.wangji92.arthas.plugin.demo.controller.User@class))' -c 197a18de ` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vmtool调用方法时如果需要传多个对象参数,且对象只有无参构造,怎么写命令?
例子:
@lombok.Data
public class Data {
}
public void doSomething2(Data d1, Data d2) {
。。。。。
}
The text was updated successfully, but these errors were encountered: