简体   繁体   English

如何在Eclipse调试模式下转到函数调用

[英]how to Go to a function call in Eclipse Debug mode

Very basic doubt: 非常基本的疑问:

If I place a breakpoint inside a function (in DEBUG mode of ECLIPSE), Is there a way to know from where the function is called? 如果在函数内部放置断点(在ECLIPSE的DEBUG模式下),是否有办法知道从何处调用函数? This is in reference to java. 这是参考java。

Select Debug Perspective (Window > Open Perspective > Debug) . 选择“调试透视图”(“窗口”>“打开透视图”>“调试”)。 If you don't already have Debug view, you can open it from Window > Open View > Debug 如果您还没有调试视图,则可以从Window > Open View > Debug打开它

The debug view should have a call stack that should show how you got to the break point. 调试视图应具有调用堆栈,该调用堆栈应显示如何到达断点。

在此处输入图片说明

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM