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.carva...@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@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal