On 24/06/2015 23:30, aradeonas wrote:
How? If you mean in command line it says there isnt any -mi.
sorry it is
gdb -i mi project.exe

probably a simple
gdb project.exe
will also do

Also I changed the lines but still if I set breakpoint in that line (now its 280) it still wait at the next procedure's begin.

Breakpoint normally only work on lines with blue dots. So if there is no blue dot then that means there is no line of code there.

Well of course in your case there is. But it is unknown to the debugger.
- Either FPC did not generate the info when compiling
- gdb has a bug reading the issue
- the IDE does display incorrect

In the last case the breakpoint would actually work. For the IDE does not check for the blue dot. IT just displays it, but does not use it for any check when setting the breakpoint.

You can try explicitly setting debug info to  dwarf2 (with sets) or stabs.


Btw. The above case likely has a different cause than the breakpoint at line 0. So there may be 2 issues.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to