Redian新闻
>
cannot trace var values in vs2005
avatar
cannot trace var values in vs2005# Programming - 葵花宝典
b*b
1
vs2005 new user looking for some helps here. thanks in advance.
i'm trying to debug a program in vs2005. when a break point was hit, i canno
t trace any variable values in "autos" window. i've tried to drag some vars
into "watch" window, there error info comes as "symbol xxx not found".
avatar
c*e
2
Did the program compile with the debug info? and what debug info format it
used. I don't know vs2005. But I met the similar scenario before when using
g++. For some formats, the variables in the ctors are not well supported.
avatar
b*b
3
yes, it did with "/Zi"
guess its some debugger setting problem, not sure...

using

【在 c****e 的大作中提到】
: Did the program compile with the debug info? and what debug info format it
: used. I don't know vs2005. But I met the similar scenario before when using
: g++. For some formats, the variables in the ctors are not well supported.

avatar
b*b
4
well, downgraded the optimizer to "/Od" to disable optimization, originally,
it's at "/O2"...
so far, it works.

【在 b*******b 的大作中提到】
: yes, it did with "/Zi"
: guess its some debugger setting problem, not sure...
:
: using

avatar
c*x
5

canno
vars
the symbol is out of scope.

【在 b*******b 的大作中提到】
: vs2005 new user looking for some helps here. thanks in advance.
: i'm trying to debug a program in vs2005. when a break point was hit, i canno
: t trace any variable values in "autos" window. i've tried to drag some vars
: into "watch" window, there error info comes as "symbol xxx not found".

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。