Code::Blocks Forums

User forums => Help => Topic started by: bigsebast on November 13, 2012, 07:06:50 am

Title: new install Debug does not stop on the hello world
Post by: bigsebast on November 13, 2012, 07:06:50 am
Hi guys !!

it make 1 week a use code block for school. So i am really new to thos kind of application.

So i have a fresh windows 7 64 bit professionnal install with code block 10.05 http://www.codeblocks.org/downloads/binaries. I did download the codeblocks-10.05mingw-setup.exe.

So i was working on a projet and i wanned to debug so i put a breakpoint and started it... Nothing happen it never stop on my breakpoint. i recreated a new projet and just for fun try to test thedebug in the hello world so i put a breakpoint on the cout... i run the debug and i only see the screen of the console flash...


i have seen in some post you guys asking for those. I also have set by default the GNU GCC Compiler
-------------- Build: Debug in test ---------------

Compiling: main.cpp
Linking console executable: bin\Debug\test.exe
Output size is 913,10 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
 


Debugger info
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Users\Sébastien\Desktop\test\
Adding source dir: C:\Users\Sébastien\Desktop\test\
Adding file: bin\Debug\test.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.8
Warning: C:/Users/Sébastien/Desktop/test: No such file or directory.
Child process PID: 4752
Program exited normally.
Debugger finished with status 0


Thanks for all the help guys !


Title: Re: new install Debug does not stop on the hello world
Post by: killerbot on November 13, 2012, 07:37:08 am
it seems it has problems with the special characters in your name.
I think our debug guru will have some tips for you.
Title: Re: new install Debug does not stop on the hello world
Post by: ollydbg on November 13, 2012, 09:02:18 am
install with code block 10.05 http://www.codeblocks.org/downloads/binaries. I did download the codeblocks-10.05mingw-setup.exe.
Please use a more recent C::B nightly build version, can be download here:Nightly builds (http://forums.codeblocks.org/index.php/board,20.0.html)

Quote
Debugger name and version: GNU gdb 6.8
Warning: C:/Users/Sébastien/Desktop/test: No such file or directory.
Use a more recent mingw/Gcc also, like: TDM-GCC (http://tdm-gcc.tdragon.net/), which contains more recent gdb.

BTW: please do not use non-English characters in your file path, I believe gdb can not handle those path/files correctly.
Title: Re: new install Debug does not stop on the hello world
Post by: bigsebast on November 13, 2012, 06:27:37 pm
Thanks I have create a new user without the "é" in my name and it work with the version i have.

If the issue comes back i will attemps what you told me with nightly build version.

thanks again !!