I just started using code blocks and set up my user interface to have a clock window in the lower right corner of the user interface. I set a breakpoint and ran my program in debug mode. I can go through the lines of code using the buttons on the menu toolbar, but there are no variables in my clock window. I read somewhere that you can right-click and add global variables, but I also don't have this function. All that I have in the window of my watch is a button, when a message appears when I click on a message:
"Click the button to see the value. Hold ctrl to see the original output line returned by the debugger. Hold shift to see the debug view of the CBWatch object."
This button doesn't even seem to matter, though.
How to get varibles to display?
source share