[fpc-pascal] console gdb in mac

Michael Ring mail at michael-ring.org
Mon Sep 8 23:06:37 CEST 2014


Joost, I saw some of your posts but did not know that your debugger has 
a console version. Is it possible to connect to a gdb-server with fpd?

Michael (not trying to hijack this thread....)

Am 08.09.14 um 17:39 schrieb Joost van der Sluis:
> On 09/07/2014 05:42 PM, Felipe Monteiro de Carvalho wrote:
>> On Sun, Sep 7, 2014 at 5:19 PM, Felipe Monteiro de Carvalho
>> <felipemonteiro.carvalho at gmail.com> wrote:
>>> I'm trying to debug lcl-cocoa, but the debugger in the IDE is not
>>> helping (not stopping in breakpoints inside the LCL, can't read
>>> variable names, etc...)
>>
>> Well, I see now that IDE debugging generally works, but that reliably
>> it stops working inside this function:
>>
>> function TCocoaWidgetSet.SetFocus(Handle: HWND): HWND;
>>
>> Breakpoint inside it works, but stepping / viewing values / any other
>> action will crash gdb.
>
> Well, it was when I was working on Lazarus's cocoa-widgetset that I 
> decided to make my own debugger.
>
> You can try that one. Only thing is that you have to sign your IDE. 
> (Or fpd - the console version of the debugger), you have to use the 
> Dwarf debug-format, and you have to run 'dsymutil' to create a 
> .dSym-debug bundle for your application.
>
> If you want I can help you with that.
>
> regards,
>
> Joost.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list