User forums > Help
Breakpoints don't work
oBFusCATed:
Bleh, this again.
Can you try to run the commands in a gdb started from the command line?
If you do it can you try the following variations of commands:
--- Code: ---> break C:/Users/2D_Fluid_I/main.cpp:147
> break C:\Users\2D_Fluid_I\main.cpp:147
> break "C:\Users\2D_Fluid_I\main.cpp:147"
--- End code ---
And share the output of all of them.
Make sure to run all the commands before the break command.
C:B_newbie:
Sorry for the late reply.
What is gdb? Do you want me to enter these lines in a command window? From the system or is there one from Code Blocks?
stahta01:
--- Quote from: C:B_newbie on December 04, 2017, 02:14:46 pm ---What is gdb? Do you want me to enter these lines in a command window? From the system or is there one from Code Blocks?
--- End quote ---
gdb is the command to run the GCC Debugger.
Run it from the cmd.exe prompt (command window)
There is no Code::Blocks command prompt/window; there might be one with what ever compiler you are using.
I do not use the command line debugger enough to give any more advise.
Tim S.
C:B_newbie:
Hmm, I would need further instructions on how to run Code Blocks with the Windows terminal :(
oBFusCATed:
Everything you need is in the debug log. Just copy, paste and adjust.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version