User forums > Help

Debugging doesn't work any more.

(1/3) > >>

jarro_2783:
I can't debug any programs. It used to work and now since I formatted my computer and installed the latest version of code blocks it doesn't work. Here is a screenshot of what I mean.



The problems are the two lines


--- Quote ---No source file named C:/programming/programs/test-debug/main.cpp.
No source file named C:/games/freedom/game/prjfreedom/src/engine/win32/win32_filesystem.cpp.

--- End quote ---

The first line is the break point I have got which you can see in the screenshot. The second line is an old breakpoint from a project I had open just before this one and then closed, I don't know why that's there.
The main problem is it doesn't seem to be finding the file and breaking where I want it to.

I did turn debugging on with -g, and it works if I use gdb straight up.

mandrav:
Mind sharing some more info, like your programs versions (gcc, gdb)?

jarro_2783:
oh sorry, I installed the latest mingw by downloading all the packages separately.

gcc - 3.4.5
gdb 5.2.1
C::B - august 27th nightly.

I think that's all.

mandrav:

--- Quote from: jarro_2783 on August 28, 2006, 09:38:58 am ---gdb 5.2.1

--- End quote ---

Get gdb 6.3...

jarro_2783:
thanks, it worked.
Any idea why they don't have that on their download page?

Navigation

[0] Message Index

[#] Next page

Go to full version