User forums > Using Code::Blocks

How to debug?

(1/2) > >>

Aboq:
My Project is set to generate the debug symbols and all other libraries im using are also debug libraries.

1: When iam starting debug (Start Debug) it seems random like if after a breakpoint is hit the step into / step out toolbar buttons are there or not.
-> So i have to set many breakpoints

2: How to watch variables? If i rightclick on a variable and add it to watch nothing happens, if i try to open watch window the window does not open.
-> In the watch options however i see the variable added (Have i really to configure the variable type, this is a joke right, see also below 3?)

3: If iam using the Memory Explorer ? and enter &var... then i get the memory but not correct size and not correct big/little endian, right?

thanks

Pecan:
   //-- Please Provide more information
   Would you state your CodeBlocks and compiler version, and your Operating System.
   Also state  your wxWidgets version if you're using one.

Aboq:
Windows Xp
wxWidgets (the provided modified dll unicode) in same path as cb.exe
MingW 5.1.3 / gcc 3.4.5 / gdb (28.11.2005)
I have also wxWidgets 2.8 installed but this is not related to the problem.

Pecan:

--- Quote from: Aboq on January 29, 2007, 10:31:49 am ---Windows Xp
wxWidgets (the provided modified dll unicode) in same path as cb.exe
MingW 5.1.3 / gcc 3.4.5 / gdb (28.11.2005)
I have also wxWidgets 2.8 installed but this is not related to the problem.

--- End quote ---

What version of CodeBlocks? Nightly Built? RC2? SVN?
Where did it come from? What Internet page?

Aboq:
nightly svn = 3474 , 10 jan

however in the 28.jan version it also doesnt work. (Just maybe the window is on a different Display, is there a way to reset the window positions ?)

Navigation

[0] Message Index

[#] Next page

Go to full version