在本文中,我们将详细介绍如何在Delphi调用堆栈窗口中隐藏“非用户”堆栈帧?的各个方面,同时,我们也将为您带来关于CX0069:错误:变量需要堆栈帧?、Delphi7:如何在调用堆栈中看到局部变量的
在本文中,我们将详细介绍如何在Delphi调用堆栈窗口中隐藏“非用户”堆栈帧?的各个方面,同时,我们也将为您带来关于CX0069:错误:变量需要堆栈帧?、Delphi 7:如何在调用堆栈中看到局部变量的值?、delphi – (How)我可以在断点上导出调用堆栈吗?、delphi – 什么是安全的最大堆栈大小或如何衡量堆栈的使用?的有用知识。
本文目录一览:- 如何在Delphi调用堆栈窗口中隐藏“非用户”堆栈帧?
- CX0069:错误:变量需要堆栈帧?
- Delphi 7:如何在调用堆栈中看到局部变量的值?
- delphi – (How)我可以在断点上导出调用堆栈吗?
- delphi – 什么是安全的最大堆栈大小或如何衡量堆栈的使用?
如何在Delphi调用堆栈窗口中隐藏“非用户”堆栈帧?
仅供参考,Visual Studio可以执行此操作:
In managed code,by default. the Call Stack window hides information for non-user code. The following notation appears instead of the hidden information:
[< External Code>]
http://msdn.microsoft.com/en-us/library/a3694ts5.aspx
如果解决方案适用于Delphi XE2,那将会很好.
UPDATE
它可以是一些第三方专家,甚至是使用ToolsAPI的代码
解决方法
CX0069:错误:变量需要堆栈帧?
这段来自《C语言深度剖析》关于指针的部分
#include <stdio.h>
int main()
{
// int i=10;
int *p=(int *)0x00bef95c;//0x00be95c是变量i的地址
*p=NULL;//这一行的问题
p=NULL;
return 1;
}
在VS2010下测试时,提示:CX0069:错误:变量需要堆栈帧
在Ubuntu下测试时,有一个warning如下:
warning: assignment makes pointer from integer without a cast
问题来了:1.对堆栈帧不太了解,百度了,但是都是一些关于堆栈的回答,没有满意的
2.不清楚为什么在VS下有这么一个错误,而linux下只是一个warning
Delphi 7:如何在调用堆栈中看到局部变量的值?
这是我的一个古老的宠儿.我可以用我编程的所有语言来实现,但不能用Delphi实现.
解决方法
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中,局部变量视图始终显示执行中断的函数的局部变量.
delphi – (How)我可以在断点上导出调用堆栈吗?
我有很长的ID字符串,我需要抓住在另一个程序中使用(见图),从屏幕截图重新输入并不是一个选项;-)
我在XE2 IDE中点击但找不到任何东西.
(解决方法:现在我继续在断点之后逐步执行代码,直到我已经移动到足够远的堆栈,局部变量再次可用.)
解决方法
delphi – 什么是安全的最大堆栈大小或如何衡量堆栈的使用?
我将MAXSTACKSIZE从1MB降低到128KB并且似乎可以工作,但如果我接近极限,我现在不行.有没有可能测量真正使用多少堆栈?
解决方法
function CommittedStackSize: Cardinal; asm mov eax,[fs:$4] // base of the stack,from the Thread Environment Block (TEB) mov edx,[fs:$8] // address of lowest committed stack page // this gets lower as you use more stack sub eax,edx end;
我没有的另一个想法.
关于如何在Delphi调用堆栈窗口中隐藏“非用户”堆栈帧?的问题我们已经讲解完毕,感谢您的阅读,如果还想了解更多关于CX0069:错误:变量需要堆栈帧?、Delphi 7:如何在调用堆栈中看到局部变量的值?、delphi – (How)我可以在断点上导出调用堆栈吗?、delphi – 什么是安全的最大堆栈大小或如何衡量堆栈的使用?等相关内容,可以在本站寻找。
本文标签: