@oniriabot
Does Lazarus show you breakpoints as ok? e.g the normal red dot?
or do you also see the disabled breakpoints as dotniet writes:
"When I set a break point is shows a question mark, then when I run the program it the break point turns to a red 'x' sign." ?
If you have enabled breakpoints, you have a different problem. And I would suggest you start a new thread, otherwise people are less likely to see dotniet problem, and he has lower chances to get an answer.
You may want to read:
http://forum.lazarus.freepascal.org/index.php/topic,6635.msg36799.htmlif your problem is neither this (disabled brkpoints), nor that (exception) then open a new thread, and include the output of:
Menu "View", "debug windows", "debug output"
-----------------
@dotniet:
One more: do *not* use "use external gdb debug symbols file (-Xg)" from the compiler-option dialog
=> it doesn't work
check the size of your exe, it should be well over 10 MB (for a simple application)
if nothing helps aslo include the "debug output"