User forums > Help

debugger wont work

(1/2) > >>

persianpars:
i can run my program
but when i set breakpoints and debug it runs through all the program
i have tested in other computers and worked with no problem
and only this project is like this i have no problem with others

code blocks : 10.05
my os: windows 7 64bit

can any one help me?

thanks in advance

oBFusCATed:
Have you read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks

persianpars:

--- Quote from: oBFusCATed on December 15, 2010, 12:13:14 pm ---Have you read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks


--- End quote ---

yes i have
-g are enabled
and -s is not checked

oBFusCATed:
And this http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks#Notes ?

Can you paste the debugger's debug log? (Settings -> Compiler & Debugger -> Debugger -> Enable debugger's debug log (the option is not exactly that) ).
Does it work from the command line (directly using gdb with its cli)?

persianpars:

--- Quote ---Does it work from the command line (directly using gdb with its cli)?
--- End quote ---
what do you mean?

and here is the debug log

--- Code: ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: D:\Programming\C++\XO (Robot and Server)\XOServer1.2\XOServer\
Adding source dir: D:\Programming\C++\XO (Robot and Server)\XOServer1.2\XOServer\
Adding file: bin\Debug\XOServer.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
Child process PID: 2744
--- End code ---

and i uploaded my project:
http://rapidshare.com/files/437074197/XOServer1.2.rar

Navigation

[0] Message Index

[#] Next page

Go to full version