简体   繁体   English

如何在Delphi中以跟踪模式从特定线路中找到呼叫者?

[英]how can i find caller from specific line in trace mode in delphi?

happy new solar year. 新年快乐。

in delphi IDE, we can put a breakpoint on specific line, then when run in debug mode, program stops on that. 在delphi IDE中,我们可以在特定的行上放置一个断点,然后在调试模式下运行时,程序在该处停止。 consider a method called by another. 考虑另一个调用的方法。 how we can find who calls method that we are in it by breakpoint? 我们如何找到谁通过断点调用我们所处的方法? i reallize it is possible by hitting Ctrl+Alt+C and in assembly mode track back.. is there any easier way to find out? 我意识到可以通过按Ctrl + Alt + C并在装配模式下追溯来实现..还有没有更简单的方法来找出?

thanks alot. 非常感谢。

Use the Call Stack window. 使用“ Call Stack窗口。 Use View->Debug Windows->Call Stack from the main menu, or press Ctrl+Alt+S 使用主菜单中的View->Debug Windows->Call Stack ,或按Ctrl + Alt + S

调用堆栈窗口(对接)

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

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