运行 "configure.file" 在 Windows 命令提示符上进行 TCL/TK 内存调试
Running "configure.file" for TCL/TK memory debugging on Windows Command Prompt
我正在尝试使用 the wiki 启用内存调试,但我不确定如何执行以下步骤:
e.g. by passing the --enable-symbols=mem flag to the configure script when building
我不确定如何为 .FILE 扩展名执行此操作。
另外,这样完成后,#define TCL_MEM_DEBUG
还需要在TclInt.h
吗?
如果我通过阅读 win\makefile.vc
顶部的注释理解正确,那么在 Windows 上,您可以通过将 STATS=memdbg
传递给 nmake
来启用内存调试(或者通过传递正确的选项 win\configure
如果您使用的是非 Microsoft 工具链):
cd tcl\win
nmake -f makefile.vc install STATS=memdbg
我强调一下,我从未试过这个。
我正在尝试使用 the wiki 启用内存调试,但我不确定如何执行以下步骤:
e.g. by passing the --enable-symbols=mem flag to the configure script when building
我不确定如何为 .FILE 扩展名执行此操作。
另外,这样完成后,#define TCL_MEM_DEBUG
还需要在TclInt.h
吗?
如果我通过阅读 win\makefile.vc
顶部的注释理解正确,那么在 Windows 上,您可以通过将 STATS=memdbg
传递给 nmake
来启用内存调试(或者通过传递正确的选项 win\configure
如果您使用的是非 Microsoft 工具链):
cd tcl\win
nmake -f makefile.vc install STATS=memdbg
我强调一下,我从未试过这个。