News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Running Threads in the debugger

Started by AlexF, June 13, 2011, 02:12:42 PM

Previous topic - Next topic

AlexF

What is correct way to see the full list of running threads in the debugger, and stack for every thread? Running threads window works by strange way. For example, my test program has two threads. If I set breakpoint in the main thread, Running Threads window is empty. If I set breakpoint in another thread, Running Threads window shows only this thread. In any case I cannot see all running threads in this window and switch between them.
Environment: Code::Blocks 8.02, Ubuntu 10.04 64 bit, C++ project.

oBFusCATed

Upgrade to a newer build.
My advise is to try the debugger's branch.
Search the forum for the Jens' repo, I think he has newer packages for ubuntu, also he might have debugger branch builds (I've never used them).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

It does not work in trunk either, but seems to work in debugger-branch.
I just compile svn r7219 of the branch and will add it to my repo if it is ready (about 1 hour from now I hope).

How to add my repo to your sources.list is described here: http://forums.next.codeblocks.org/index.php/topic,14470.msg97243.html#msg97243 .

Jenna

Quote from: jens on June 13, 2011, 04:44:47 PM
It does not work in trunk either, but seems to work in debugger-branch.
I just compile svn r7219 of the branch and will add it to my repo if it is ready (about 1 hour from now I hope).

How to add my repo to your sources.list is described here: http://forums.next.codeblocks.org/index.php/topic,14470.msg97243.html#msg97243 .

Debugger-branch revision 7219 is in my repo now.

AlexF

Thanks. I understand, that in the future this will be available in Ububtu and other Linux distributions repository?

Jenna

Quote from: AlexF on June 19, 2011, 02:52:57 PM
Thanks. I understand, that in the future this will be available in Ububtu and other Linux distributions repository?

Depends on the distros maintainers.
Ubuntu and debian have C::B 10.05 in their official repos, some other distros also, but I don't know which.

After the next release (if it includes the new debugger features) they will surely update their repos accordingly.