can't debug an event handler lazarus / 12-Debugger ---------------------------------------------------------------------- mbohn · 2009-10-05 14:21 I have a button on my main form and when I click that button I get a runtime error.  If I put a breakpoint at the start of the button's event handler I still get the error.  Is there something that happens between the button click and the event handler and if so how can I  put a breakpoint there? Lazarus 0.9.27  and OSX "10.5.8" ---------------------------------------------------------------------- skalogryz · 2009-10-05 16:38 can you provide the sample project? It's hard to say what's wrong. ---------------------------------------------------------------------- mbohn · 2009-10-06 13:22 Quote from: skalogryyz on October 05, 2009, 06:38:54 pmcan you provide the sample project? It's hard to say what's wrong. It's not a sample project so I've just provided a screenshot of the pertinent part of the event handler: