IDEA Debug 查看方法返回值
IDEA Debug 大约 346 字示例
在Math.random();
这行打上一个断点,查看其返回的具体值。
public class DebugMethodReturnValue {
public static void main(String[] args) {
Math.random();
System.out.println("123");
}
}
打开设置
在Debug
面板的侧边栏中的Settings
中,勾选Show Method Return Values
即可。
图示
视频讲解
阅读 2439 · 发布于 2021-09-16
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称: