Debugging, watch window, array elements incorrectly sorted

CodeLite installation/troubleshooting forum
squantor
CodeLite Curious
Posts: 2
Joined: Sat Apr 21, 2018 7:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Debugging, watch window, array elements incorrectly sorted

Post by squantor » Fri Nov 30, 2018 12:34 pm

Hello All,

I am debugging a C program that uses a few arrays. I am running into a visual problem that I cant seem to fix:
Screenshot_2018-11-30_09-16-01.png
The array index elements are in an incorrect order. This makes the array quite hard to read and I have to jump around. It seems that sorting on the index is incorrect.
I am using the following:
Codelite 12.0.10, the GTK3 variant (could not see this in the information window) and running in ubuntu 18.04.1

What I have tried: Refreshing and sorting, sorting while "prompt" is selected. All have no effect.

What am I doing wrong? Or is this a bug?
You do not have the required permissions to view the files attached to this post.

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

Re: Debugging, watch window, array elements incorrectly sorted

Post by eranif » Sat Dec 01, 2018 2:38 am

thanks, its a bug in CodeLite (it sorts the elements in asc order). Can u please open this on GitHub?
Make sure you have read the HOW TO POST thread

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

Re: Debugging, watch window, array elements incorrectly sorted

Post by eranif » Sat Dec 01, 2018 12:29 pm

This is now fixed in CodeLite git master
Make sure you have read the HOW TO POST thread

squantor
CodeLite Curious
Posts: 2
Joined: Sat Apr 21, 2018 7:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging, watch window, array elements incorrectly sorted

Post by squantor » Fri Dec 07, 2018 12:03 pm

Hello, thank you for the quick fix!

Next time I will submit on github and thank you for developing this excellent editor!

Polychemist
CodeLite Curious
Posts: 2
Joined: Mon Dec 17, 2018 12:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging, watch window, array elements incorrectly sorted

Post by Polychemist » Mon Dec 17, 2018 12:37 pm

Hello!
I have started with CodeLite with Windows 7, 12.0.10, MinGW (TDM-GCC-64) and I can not start the debugger, I add a breakpoint, push F5, choose "build and debug", program builds, starts to work and terminates without stop at the breakpoint. An example is attached.

Thanks!
Hello.zip
You do not have the required permissions to view the files attached to this post.

Polychemist
CodeLite Curious
Posts: 2
Joined: Mon Dec 17, 2018 12:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging, watch window, array elements incorrectly sorted

Post by Polychemist » Mon Dec 17, 2018 2:00 pm

Sorry, the problem solved:
Executable path in (Settings > Debugger > GDB/CDB Debugger:Default) must be C:\MinGW\bin\gdb.exe.

Post Reply