Environment: Win7 Ultimate 64bit , CS
codeblocks-13.12mingw-setup.exe
CodeBlocks Path: (Default Path)C:\Program Files (x86)\CodeBlocks
Compiler: MSVC2010
Debugger: cdb.exe
CDB.exe path:(Default) C:\Program Files\Debugging Tools for Windows (x64)
Microsoft SDK: C:\Program Files (x86)\Microsoft SDKs
Project Path: O:\sourceCode\codeblocksDemo
Issue: When i started debugging , it started and hang , no breakpoint work
I tried with GCC , all work well.
Steps:
1. Download CodeBlocks and install with default setting
2. Install VS2012 Express from Microsoft (I googled and knew CDB and SDK would be installed)
3. Launch CodeBlocks and create my console project "codeblocksDemo"
4. Settings=>Debugger , create a new config and set to CDB , then choose cdb.exe at where it is
5. Settings=>Compiler , let CodeBlock search for compiler by default path and success
add SDK path at "Search Directories"=>Compiler and Linker
6. Build project and debug
A console window emerge and stopped , I can't terminate it either by close window nor click "Stop Debugger"
No output
The only way to stop is close CodeBlocks !!!
Build Log:
-------------- Build: Debug in codeblocksDemo (compiler: Microsoft Visual C++ 2010)---------------
Target is up to date.
Nothing to be done (all items are up-to-date).
Build Message:
||=== Build: Debug in codeblocksDemo (compiler: Microsoft Visual C++ 2010) ===|
Debugger Output:
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: O:\sourceCode\codeblocksDemo\
Adding source dir: O:\sourceCode\codeblocksDemo\
Adding file: O:\sourceCode\codeblocksDemo\bin\Debug\codeblocksDemo.exe
Changing directory to: O:/sourceCode/codeblocksDemo/.
Set variable: PATH=.;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft Windows Performance Toolkit;C:\Program Files (x86)\CodeBlocks\MinGW\bin
Starting debugger: C:\Program Files\Debugging Tools for Windows (x64)\cdb.exe -G -lines -2 -y O:/sourceCode/codeblocksDemo/; -srcpath O:/sourceCode/codeblocksDemo/; O:/sourceCode/codeblocksDemo/bin/Debug/codeblocksDemo.exe
done
Setting breakpoints