Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

A new bug (?) using debugger in the latest nightly

(1/2) > >>

Max:
Hi, *

Using : Windows XP SP2 and nightly 3703 or the latest 3714

Have a look to the attached picture. Is a debugging session of a piece of stupid code. The problem is:

When I try to setup a watch for an "out of scope" variable the debugger enter in a unbreakable state. All the button related to debugger turn to gray (but not the stop debugger button) and you are not able to stop the debugger. The application window is no longer responding.

In the example I am in the line 174.  Then I try to set a new watch for the  variable pSqlStatement. The variable has the scope defined by the lines 105 to 168 (so I am out of scope for it). In the watches window the message is correct but now the debugger is frozen.


Can you confirm?


Here the image

http://img232.imageshack.us/img232/5916/bugbs2.jpg


Max

Max:
More....

The bug is present even if I set a watch when I am "in scope".

I see

Setting breakpoints
Debugger name and version: GNU gdb 6.3
Child process PID: 1908
At C:/C/Projects/BookShelf/Search.c:166
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...


In the Debugger tab


Max

hangl:
This problem still exists  in lasest 3721!
And more if I try to  set a watch for a class member  variable, All the button related to debugger also turn to gray(stop debugger button excpet);

Max:
Thank you hangl tohave confirmed the bug. I eas afraid to be the only one to be affected.

Anyway I tested old nightly to verify when the problem appeared. The version 3656 is OK, newer version not are OK
(well I haven't tested every nightly but 3671 is affected and 3681, 3703, 3714 and 3720 as well)

In the SVN I find at version 3659

3659     /     mandrav     2 weeks     
- Signed/unsigned fix in debugger sources.
* Fixed debugger to be able to stop a program while running (linux).
* Debugger's tooltip evaluation is temporarily disabled.

I think that the problem appeared whit this commit.


Hopefully mandrav will fix this bug, debugging is pretty impossible now.... :-)


Max

dr snuggles:
I can also confirm this bug. Although it is not a new bug, it has not been fixed afaik. See also this thread for code to reproduce the bug.


--- Quote from: MaxGaspa on March 19, 2007, 07:24:19 am ---Anyway I tested old nightly to verify when the problem appeared. The version 3656 is OK, newer version not are OK

--- End quote ---
Thanks for pointing this out! Version 3656 (from 1 March 2007) is a lot more stable during debugging :).

Navigation

[0] Message Index

[#] Next page

Go to full version