User forums > Help
Can't make debbuger work
mgoyanes:
Hi there.
I have some program in C and after making 2 breakpoints I want to use the debbuger function but nothing happens. On the watches pane nothing shows. Used the instructions http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks but it still not work.
I'm running Code::Blocks 10.05 on a Win 7 Ultimate x64 machine. MinGW is installed on C:\MinGW
Here is a video with all my code::blocks settings and making a demonstration run.
http://youtu.be/dGOk1MOoj4o
And here is some strange thing.
I have a Win 7 Ultimate x64 machine and MinGW is installed on C:\MinGW but on a virtual machine. I believe both code:blocks and compiler have the same settings on machine and virtual machine but debugging is working OK on the virtual machine
Here is a video with all my code::blocks settings and making a demonstration run but now on my virtual machine.
http://youtu.be/Qs4GPrKzeTs
Any idea why it's working on virtual machine but not on my machine?
thanks,
kodiak
mgoyanes:
No one??
MortenMacFly:
--- Quote from: mgoyanes on April 16, 2012, 09:40:56 am ---No one??
--- End quote ---
I'm afraid nobody is interested in watching long videos where half the information is missing. Post a (zipped) minimal demo project and a full compiler log to reproduce.
mgoyanes:
--- Quote from: MortenMacFly on April 16, 2012, 11:08:09 am ---I'm afraid nobody is interested in watching long videos where half the information is missing. Post a (zipped) minimal demo project and a full compiler log to reproduce.
--- End quote ---
Videos are not that long and didn't know beforehand what kind of information should I post. To my understanding was best than nothing.
Here is the zip and the full compiler log follows:
--- Quote ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: G:\Miguel\LEI\3 Ano\2 Semestre\PPP\PrĂ¡ticas\Ficha03\teste\
Adding source dir: G:\Miguel\LEI\3 Ano\2 Semestre\PPP\PrĂ¡ticas\Ficha03\teste\
Adding file: bin\Debug\teste.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 (GDB) 7.3.1
Child process PID: 6636
Continuing...
The program is not being run.
Debugger finished with status 0
--- End quote ---
MortenMacFly:
--- Quote from: mgoyanes on April 16, 2012, 11:41:38 am ---Here is the zip and the full compiler log follows:
[...]
--- End quote ---
This is not the full compiler log, this is the "launch debugger" log. Please read this:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Also notice the FAQ, see my sig for a link.
Navigation
[0] Message Index
[#] Next page
Go to full version