在Delphi 7中,在调试时我可以看到当前上下文局部变量(Ctrl-Alt-L)和调用堆栈(Ctrl-Alt-S).当我将调用堆栈导航回调用方法时,我不知道如何检查调用方局部变量.可能吗?
这是我的一个古老的宠儿.我可以用我编程的所有语言来实现,但不能用Delphi实现.
您正在寻找的功能是
added to the Win32 debugger in Delphi 2005:
Delphi 2005 Reviewer’s Guide
…
A popular debugging feature in Delphi 8 and C# Builder is the capability to select a particular frame from the call stack using the Local Variables dialog box. This feature is now available for the Borland Win32 Debugger.
With the Borland Win32 Debugger loaded,view the Local Variables dialog box. (If this dialog box is not already visible,select View | Debug Windows | Local Variables,or press Ctrl-Alt-L,to display it.) Initially,the values of variables local to the current function that the debugger is in are shown. To view local variables in one of the methods earlier in the call chain,select the method name from the drop-down menu.
07001
在Delphi 7中,局部变量视图始终显示执行中断的函数的局部变量.