User forums > Help
cant watch varaibles "not in this context"
Dwyerfire:
this may be something really stupid or possibly even a bug i hav no idea but on code::blocks 12.11 using the code::blocks debugger i cant watch variables because it always says "its not in the current context" even tho it cleary is
OS: ubuntu 12.04
additionaly info: its ubuntu svn build 9156
oBFusCATed:
Are you sure you're not debugging optimized applications?
Dwyerfire:
im almost positive ill double check
EDIT: i just double checked and im not, i even checked compiler flags in case i messed that up accidentally (versus just looking at build target)
oBFusCATed:
Does it work in a simple console project?
Dwyerfire:
let me check
EDIT: still trying to make sense of this but it doesnt even stop at the break point i set on the simple console program
EDIT: oh heres something that might be useful whenever i run it in debug it gives me a warning message from the console:
"warning: GDB: Failed to set controlling terminal: Operation not permitted"
lol sry for just realizing it its just that ive had that message forever and never thought much of it but now i that i think about it i may hav had this problem forever
p.s. i when i say "run in debug" i mean actually using the debugger with debug build target not just build target
p.p.s i just remembered im using 4.8.1 GCC not the standard 4.6 or w/e
Navigation
[0] Message Index
[#] Next page
Go to full version