Show static and global variables in debug mode
-
wrote on 25 Dec 2012, 09:34 last edited by
I have qt creator 2.4.1 based on Qt 4.7.4
How can I show static and global variables in debug mode? -
wrote on 26 Dec 2012, 23:08 last edited by
If I'm not wrong, you're talking about how to write variable name in debug window because static and global are not automatically pushed there... two ways:
1: drag and drop var name from text code to debug window
2: double click debug window and a new row will appear to write var name. -
wrote on 27 Dec 2012, 07:04 last edited by
tnx,
another way:
3. Debug--> Add to watch window -
wrote on 25 Sept 2013, 10:57 last edited by
probably good answers but...
-
what's a "debug window"? I can't find anything named that in Qt Creator and google doesn't seem to know either
-
" Debug—> Add to watch window"? what? is Debug a menu? a button? a command? possibly a window...
-
-
wrote on 25 Sept 2013, 11:09 last edited by
ah.
you can drag and drop expressions into the "Locals and Expressions" window