[Lazarus] Debug inside other component in other package like SynEdit
Zaher Dirkey
parmaja at gmail.com
Sun Mar 4 19:53:53 CET 2012
2012/3/4 Martin <lazarus at mfriebe.de>
> On 04/03/2012 11:38, Zaher Dirkey wrote:
>
> On Sat, Mar 3, 2012 at 9:33 PM, Martin <lazarus at mfriebe.de> wrote:
>
>> Recompile that package with debug info.
>
>
> SynEdit already have debug info and i compiled with clean.
> SynEdit package -> Options -> Linking -> Generate debugging info....
> Look the at post attachments
>
>
> Then that is strange.
>
> Did you try to rebuild synedit clean ("more" button in package window)?
>
Yes.
> (If SynEdit is used in a project, then you need only rebuild the package,
> no need to rebuild the IDE / no harm either)
>
Yes, I built it with clean from "more" button.
> And (silly question, but to be sure) your project uses debug info too?
> (and is set to "automatic" too? / though probably mixing stabs/dwarf would
> work)
>
Ah, it is work now, it is set to dwarf i changed it to Automatic and work
fine :D
Thanks for your time
Now i need to debug inside FPC units like "Classes" is that related to FPC
list?
>
> Once running, in your code, you will see the blue dots in the gutter?
> Opening SynEdit, does it have them too?
>
> Attach the "Debug output" window's content please.
> Important:
> - either reset the debugger first, or use a freshly started IDE
> - first open the "debug output" window, then after that run your app
>
> before running your app make sure:
> - you have a unit of your own code open
> - using a 2nd editor window: you also have a synedit window open look for
> blue dots)
> - in both sources, have one breakpoint set
>
Best Regards
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120304/44f14d9c/attachment-0003.html>
More information about the Lazarus
mailing list