User forums > Using Code::Blocks

Debug not work ,seems hang(Annoying)

<< < (2/2)

marcus1877:
Searched Code::Blocks > Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development ,
however only 2 posts are related cdb。 If it's not implemented on formal version , i'll use Gdb first . Looking forward new version with fixed feature.

oBFusCATed:
This is the topic http://forums.codeblocks.org/index.php?topic=16885.0 I think, you can ask there and you'll probably get help.

faund:
I encounter this problem too, and I find the way out.

I used the 64 bit Debugging Tools for Windows comes with windows SDK install, and experience the same problem as you, the debug started, and press the buttons relate to debug have no action, even the started process for debug can not stop or kill by the task manager, only way to stop the program is to shutdown the codeblocks.

As wiki sayshttp://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks#Use_32bit_CDB_for_32bit_programs_and_64bit_CDB_for_64bit_programs

--- Quote ---It seems that debugging a 32bit program with 64bit CDB doesn't work on Windows 7, but 32bit CDB works perfectly.
--- End quote ---

But on 64bit debugging tools installed with the windows sdk install, so I download the WDK iso file from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11800, and installed the 32bit version by running the setup program below.
--- Quote ---\Debuggers\setup_x86.exe
--- End quote ---
, then I got a 32bit cdb.exe in "C:\Program Files (x86)\Debugging Tools for Windows (x86)".

Go Code::Blocks Settings->Debugger->Default set the "Executable path" to C:\Program Files (x86)\Debugging Tools for Windows (x86)\cdb.exe, problem gone.

Navigation

[0] Message Index

[*] Previous page

Go to full version