[Lazarus] Debugger problems

Martin lazarus at mfriebe.de
Thu May 10 01:53:45 CEST 2012

Looks like you have set "InterlnalStartBreak" (from the debugger options 
/ property grid) to "gbsAddZero"

That option does not work with gdb 7.4 (a bug in gdb 7.4)

I had feedback from one of the developers, that it may be fixed in gdb 
trunk, but I don't think it is fixed in any release yet. 

If you need this option, you need to use gdb 7.3

On 10/05/2012 00:23, Leonardo M. Ramé wrote:
> On 2012-05-09 23:52:06 +0100, Martin wrote:
>> On 09/05/2012 23:41, Leonardo M. Ramé wrote:
>>> I'm using Lazarus&   Fpc compiled from trunk, on Ubuntu 12.04 x86_64.
>>> Since today, I found the debugger stopped working, I mean, breakpoints
>>> are never reached, also, when I close the applications started from the
>>> IDE (F9), I get this error message:
>>> The GDB command:
>>> "-exec-run"
>>> did not return any result.
>> when this happens, check if gdb is still running (
>> http://sourceware.org/bugzilla/show_bug.cgi?id=14014 )
>>> Before writing this, I've tested all combinatios of linking
>>> configuration (-g, -gw, and so on), with and without external symbols
>>> file (-Xg), but the result is allways the same.
>> Since you appear to know the options, I assume no optimization other than
>> O1/ and no smart linking?
>>> Does anyone knows if this is related to gdb, Lazarus or Fpc?.
>> Will need some more info, please.
>> Do you know the version of GDB?
>> I am not aware of any recent changes in Lazarus, that would/could have
>> caused this.
>> I can not tell if there is/was in FPC
>> - Run Lazarus with (requires recent SVN)
>> --debug-log=/foo/log
>> - Ensure it will be the first debug in your LAzarus session, or reset the
>> debugger
>> - please open the "Debug Output" Window, from the "View" menu (VIew>  Debug
>> Windows>  Debug output).
>>    Ensure you open this window, before running your app with F9
>> - Run your app.
>> Copy the content of the window and mail it (If to big for the list, private
>> mail is ok)
>> Same for the log
> Here are the files.
> output.log: Debug output window contents.
> lazarus.log: --debug-log
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120510/bda754c4/attachment-0003.html>

More information about the Lazarus mailing list