现在的位置: 首页 > 综合 > 正文

vc6 debug下,看不到this指针,局部变量的值

2013年10月11日 ⁄ 综合 ⁄ 共 280字 ⁄ 字号 评论关闭

问题:vc6 debug下,看不到this指针,局部变量的值,watch窗口显示: symbol  "this" not found

解决:

        project的配置错误导致。

      1 . project->settings->link:勾选generate debug info

      2. project->settings->C++: debug info combox中选中program database for edit and continue

     3. project->settings->C++:Optimizations:选Disable

     4. clean,rebuid

抱歉!评论已关闭.