We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-boot.jar
as.sh
arthas-boot
部分代码:
@Controller @RequestMapping("/notification") public class NotificationController { @RequestMapping(value = "/{category}/{mid}/list", method = RequestMethod.GET) @ResponseBody public BaseResponse getNotifications(@PathVariable("category") NotificationCategory category, @PathVariable("mid") String mid,@RequestParam(value="country") String country) { //返回值并不重要 return ResonseUtil.success(); } } public enum NotificationCategory { RESERVED, UGC, TODAY, ALL; public static final NotificationCategory values[] = values(); }
但是watch命令可以观察到第一个参数的值
希望可以定位到参数到底是哪个枚举
The text was updated successfully, but these errors were encountered:
目前是当Object输出了,所以把所有的field都输出了。 可以加个.toString() ,或者 .ordinal() 来获取具体的值。
.toString()
.ordinal()
下个版本支持打印enum。
Sorry, something went wrong.
5e31fd3
ObjectView support enum. close alibaba#454
d5f7cfa
No branches or pull requests
环境信息
arthas-boot.jar
或者as.sh
的版本: 3.0.5.2arthas-boot
的版本: 3.0.5.2重现问题的步骤
发现无法确认第一个参数的值具体是哪个枚举值
部分代码:
但是watch命令可以观察到第一个参数的值
期望的结果
希望可以定位到参数到底是哪个枚举
实际运行的结果
The text was updated successfully, but these errors were encountered: