Page 1 of 1

Debugger issues

Posted: Fri Oct 24, 2014 12:55 pm
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

Re: Debugger issues

Posted: Fri Oct 24, 2014 1:59 pm
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

Re: Debugger issues

Posted: Mon Oct 27, 2014 6:24 pm
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