Enable full debugger's log (in the settings of the debugger) and post again.
And please use code or quote tags for long pastes.
I'm trying some ways to solve this problem.
My issue is exactly the same as http://forums.codeblocks.org/index.php?topic=14165.0
ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll -
Reference:
http://forums.codeblocks.org/index.php?topic=8454.0
http://support.microsoft.com/kb/311503/zh-cn
http://msdn.microsoft.com/en-us/library/windows/hardware/ff558829%28v=vs.85%29.aspx
f you use CDB.EXE in the commandline without any parameters, it will print many useful informations, one of which is
Environment Variables:
_NT_SYMBOL_PATH=[Drive:][Path]
Specify symbol image path.
Now you can add the environment variable _NT_SYMBOL_PATH with value :
SRV*C:\MyLocalSymbols*http://msdl.microsoft.com/download/symbols
Here the folder C:\MyLocalSymbols is used by CDB.EXE to download symbols from Internet, you can change it to any other locations as you wish.
If you think it terrible to wait for downloading necessary symbols when you are debugging. You can download all symle packages once and install and set the install folder to the environment variable _NT_SYMBOL_PATH. The download link is http://www.microsoft.com/whdc/devtools/debugging/symbolpkg.mspx.
Have fun with CodeBlocks!
[/color]
All right , This problem is solved by above 2 reference !!!!!!
Set _NT_SYMBOL_PATH in My Computer=>Property=>Advanced System Settings=>Environment Variables
Now a new issue is standing in front of me : First Chance Exception !!!
[debug](1ff4.1e6c): WOW64 breakpoint - code 4000001f (first chance)
[debug]First chance exceptions are reported before any exception handling.
[debug]This exception may be expected and handled.
I've refered to http://msdn.microsoft.com/en-us/library/windows/hardware/ff550949%28v=vs.85%29.aspx
and tried to attached a -g to CodeBlocks at Settings=>Debugger=>Select my 'CDB' =>enter "-g" into "Arguments"
However , this -g is not passed to debugger , all command given to CDB in "Debugger" window is
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
Then I tried /g or -g -g -g -g , no effect !!!
What's going on???
PS:
I enter command prompt and run with -g , the result is ok!!