Debugger not working

CodeLite installation/troubleshooting forum
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Debugger not working

Post by evstevemd »

I have trouble getting debugger work.
If I start debugger and step in code it works fine. But when I add a watch as wxString the problem starts.
The watch is not added to watch panel but also Trying to step into code stops working.
I don't know what to do :oops:
Help!

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger not working

Post by eranif »

Not very helpful post...
HOW TO POST

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger not working

Post by evstevemd »

eranif wrote:Not very helpful post...
HOW TO POST

Eran
Sorry, here is the log
log.txt
You do not have the required permissions to view the files attached to this post.

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger not working

Post by eranif »

Try deleting the 'Pre Defined Types' for wxString from the debugger settings dialog. from "settings -> debugger settings"
codelite should be using the python pretty printers for wxString so wxString should be very much readable for you

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger not working

Post by evstevemd »

eranif wrote:Try deleting the 'Pre Defined Types' for wxString from the debugger settings dialog. from "settings -> debugger settings"
codelite should be using the python pretty printers for wxString so wxString should be very much readable for you

Eran
That is it!
Thanks and sorry for my dummy post ;)

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger not working

Post by evstevemd »

eranif wrote:Try deleting the 'Pre Defined Types' for wxString from the debugger settings dialog. from "settings -> debugger settings"
codelite should be using the python pretty printers for wxString so wxString should be very much readable for you

Eran
std:string and char* behaves the same. Should I delete them?
After Installing fresh 13.04 Raring I copied the config folder of CodeLite from 12.04. Is that supposed to be the cause?

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger not working

Post by eranif »

close codelite, rename ~/.codelite and try it again.
If it still fails - It seems to be a gdb problem

You could also try this:
delete the entire content of "settings -> debugger settings -> startup commands"

If the problem persists - then its a gdb problem

Eran
Make sure you have read the HOW TO POST thread
Post Reply