User forums > Help

GDB problem (yes, i've used the search)

<< < (3/6) > >>

MortenMacFly:

--- Quote from: astorga on July 23, 2012, 04:47:59 pm ---Anyone?  :(

--- End quote ---
Provide a sample project to reproduce.

astorga:
Attached a project sample. A breakpoint on line 6 doesn't stop the program.

MortenMacFly:

--- Quote from: astorga on July 23, 2012, 05:28:18 pm ---Attached a project sample. A breakpoint on line 6 doesn't stop the program.

--- End quote ---
Well I don't know how you managed to do this, but the executable under the Debug folder has no debug symbols in it. If I do a simple re-build of the project, the BP's work.

I assume you once compiled a release target into the same output folder. As long as the executable is newer than the sources, a normal debug build won't do anything. If you change target options like release/debug you have to re-compile.

astorga:
It's a fresh project, I created it just to show that it happens. I don't hit build button with release configuration. What could cause it?

MortenMacFly:

--- Quote from: astorga on July 23, 2012, 05:37:41 pm ---It's a fresh project [...]

--- End quote ---
A fresh project doesn't have an executable. ??? Did you create the project in an existing folder?
What are the exact steps you did to come to this project, including the executable? Did you use the wizards, what did you do next?!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version