User forums > Nightly builds

The 15 August 2011 build (7386) DEBUGGER BRANCH version is out.

<< < (8/9) > >>

oBFusCATed:
Does it happen with the trunk version of the nightly?
What happens if you disabled the CC?

scarphin:
Trunk also crashes. When I disable code-completion, both (trunk and debuggers branch) work. I can then enable cc plugin. Can u reproduce the crash or is it just me?

oBFusCATed:
CC is known to be crashy in this revision, disable it and wait for the next nightly...

Manolo:
Hello
I use MinGw/GDB. I'm getting this issue while debugging:
When the GDB just execute this line of code:
  wxString *psty = (wxString*) NULL;
I put the mouse over 'psty' and a SIGSEGV is prompt:


--- Code: ---> whatis psty
type = wxString *
>>>>>>cb_gdb:
> output psty
(wxString *) 0x0>>>>>>cb_gdb:
> output /c psty->wx_str()[0]@psty->length()
The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off".
Evaluation of the expression containing the function
(wxString::wx_str() const) will be abandoned.
Program received signal SIGSEGV, Segmentation fault.
0x6fc611d6 in libstdc++-6!_ZNKSbIwSt11char_traitsIwESaIwEE5c_strEv () from c:\mingw\bin\libstdc++-6.dll
>>>>>>cb_gdb:

--- End code ---

I'm also using the script I posted some days ago:
http://forums.codeblocks.org/index.php/topic,15050.msg101768.html#msg101768

Of course, the problems arise because psty is not pointing to a valid wxString object.
What I ask here and myself is: How can C:B be aware of this before trying to output this invalid var?

Regards

oBFusCATed:
I guess we can check for NULL in before evaluating some scripts...
But I suggest to use python enabled gdb + pretty printers for wxwidgets (there are available for 2.9+). This is the better approach.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version