b*******b 发帖数: 613 | 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". | c****e 发帖数: 1453 | 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. | b*******b 发帖数: 613 | 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.
| b*******b 发帖数: 613 | 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
| c********x 发帖数: 84 | 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".
|
|