Debugger issues

General questions regarding the usage of CodeLite
MinkaMis
CodeLite Curious
Posts: 2
Joined: Fri Oct 24, 2014 12:38 pm
Genuine User: Yes
IDE Question: c++
Contact:

Debugger issues

Post by MinkaMis »

Hi all,

I'm impressed with CodeLite so far and congratulate the team for the great effort! The editor is simply perfect.

I wish two important things could be improved in the debugger, though:
1. better display of STL containers and nested structures (e.g. vector in a structure, vector of vectors, ...)
2. the debugger does not display variable states when the breakpoint is hit, only after the first manual step?

Other minor annoyances include:
a. possibility to edit existing watch expressions
b. remember watch expression between separate debugger runs

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

Re: Debugger issues

Post by eranif »

MinkaMis wrote:1. better display of STL containers and nested structures (e.g. vector in a structure, vector of vectors, ...)
I already fixed this, see this commit :
commit 8c04403e6b7ce6be88d141725d65822ea9245288
Author: Eran <eran.ifrah@gmail.com>
Date: Fri Sep 12 22:48:20 2014 +0300
Fixed: https://github.com/eranif/codelite/issues/555 - GDB pretty printing doesn't recurse
You failed to provide your OS, codelite version etc... :/ (see my signature for HOW TO POST)
Did you try a more recent weekly build?
MinkaMis wrote:the debugger does not display variable states when the breakpoint is hit, only after the first manual step?
I am not sure I am following, can you provide an example?
MinkaMis wrote:Other minor annoyances include:
a. possibility to edit existing watch expressions
b. remember watch expression between separate debugger runs
As usual, feature requests posted on the forum will definitely get lost - as I don't keep track on features posted on the forum.
Please post them on GitHub

Eran
Make sure you have read the HOW TO POST thread
MinkaMis
CodeLite Curious
Posts: 2
Joined: Fri Oct 24, 2014 12:38 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Debugger issues

Post by MinkaMis »

Uf, sorry for missing details:

Ubuntu 14.04LTS, pre-compiled CodeLite 6.1, gcc 4.8.2 and gdb 7.7.

Upon hitting the breakpoint the Locals tab remains empty(!) and only after a Next/Step-in command the list is populated with relevant values... Continue again clears the Locals list even in a small loop... The same problem with the Watches list.

LLDB however works fine.

Minka
Post Reply