User forums > Using Code::Blocks

svn 7925 - no "watches" in the debugger

<< < (2/2)

Jenna:
Are you sure the watches window is incomplete ?
It's layout has changed massively.
If there are no watches an empty progrid with one line and three columns is shown.
You can add watches with "Add watch" from the editor's contextmenu, or by dragging a selected variable and dropping it into the watches window.

Radek:
Ouch ... The watches window does work (in Debian)  :o but the layout has really changed massively. After the first success (with the context menu), I was able to put the window to work.

Okay. When you open the window, it looks strange and rather incomplete. A "header" line (which is not a header) with three columns but without any text which could hint what to do. You can put the cursor into the first two columns but what to type in is unclear. There is also a "..." button in the middle field which does nothing (unless you have a variable loaded). No popup menu. If there are more desperate people around, then:

(1) The window ceased being a "local variables" window, it is a real "watches" window now. Until you define a watch, the window will be blank.
(2) Defining a watch: Type the variable name (or this) in the first column of the window, put the cursor on some occurrence of the variable (in the editor) and "add watch" from the context menu.
(3) Once you have a watch, you can select it and right click it. You get a context menu.
(4) The rest is easy.

Now, I would appreciate a "local variables" window. Well, I can add local variables into the watches window and remove them after leaving the procedure, but ...  ;D

Navigation

[0] Message Index

[*] Previous page

Go to full version