News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can I plug in microsoft's debugger to cb?

Started by smallB, November 06, 2011, 10:57:40 AM

Previous topic - Next topic

smallB


MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

smallB

@Morten that's great news. Would you mind telling me how to set this up?
Thanks.

oBFusCATed

MS's debugger is only if you use Visual C++ compiler, if you use GCC there is no point it trying it. The debug symbols format is different.

If you still want to use MS's debugger search for CDB, but this is not for beginners. And it works worse than 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!]

smallB

@obfuscated thanks for taking the time. Such great pity. I suppose I'll use cb for coding and VS for debugging. How you organize your work? Surely you do not debug in cb?

oBFusCATed

I'm on Linux and I debug with C::B, but I'm using the debugger's branch.
(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!]

smallB

@obfuscated I also use debugger branch but it doesn't show symbols + their values and that's make it unusable for me.

oBFusCATed

Hm, does it work for "int a=5", type of variables?
If it doesn't you have mis-configured something.
(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!]