gsdctech
asked on
Breakpoint not working properly in DDD
Hello,
When i set the breakpoints, the execution stops exactly at the breakspoint where it is set, but there is no green arrow in that position, beacause of which, i am unable to print the value of the variable at those positions.
test.jpg
When i set the breakpoints, the execution stops exactly at the breakspoint where it is set, but there is no green arrow in that position, beacause of which, i am unable to print the value of the variable at those positions.
test.jpg
ASKER
But in the snapshot which i have shown, the program has halted at the breakpoint and am trying to print the variable modulated signal, but i get the error "No symbol in current context", as if it is not at the breakpoint location.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also, rebuild without any optimisation if possible
ASKER
Duncan... what do you mean by "without any optimisation"
Make sure there is no -O option given to gcc
Or the Sun compiler, if you're using that
ASKER
ahh ok... it was run in debug mode, not optimal mode.
Regards
Friedrich