Author Topic: Debugging STL using CDB  (Read 4899 times)

Offline roso

  • Single posting newcomer
  • *
  • Posts: 5
Debugging STL using CDB
« on: October 23, 2011, 05:56:19 pm »
Is it possible to debug the STL containers using the CDB debugger through codeblocks?
Everything is configured correctly but apparently a symbol path is missing.

I'm using C::B svn 7289, VC++2010 complier.

Thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugging STL using CDB
« Reply #1 on: October 23, 2011, 06:48:59 pm »
What is the debugger's debug log?
You can enable it here: Settings -> Debugger -> Common -> Display debugger's log
(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!]

Offline roso

  • Single posting newcomer
  • *
  • Posts: 5
Re: Debugging STL using CDB
« Reply #2 on: October 23, 2011, 06:58:06 pm »
Indeed, it wasn't enabled but even by enabling it I cannot see what's inside my map :/

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugging STL using CDB
« Reply #3 on: October 24, 2011, 07:56:05 pm »
Just paste it, here so I can take a look for strange things. (please use code tags)
Does it work with gcc+gdb?
(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!]

Offline roso

  • Single posting newcomer
  • *
  • Posts: 5
Re: Debugging STL using CDB
« Reply #4 on: October 24, 2011, 08:01:35 pm »
Under Linux it works.
Under Windows nor gdb nor cdb works.

What should I paste? The problem isn't from my code but rather a configuration I missed :/

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugging STL using CDB
« Reply #5 on: October 24, 2011, 08:25:42 pm »
What is the debugger's debug log?
You can enable it here: Settings -> Debugger -> Common -> Display debugger's log
(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!]