[Lazarus] Debug inside other component in other package like SynEdit
lazarus at mfriebe.de
Sun Mar 4 13:46:47 CET 2012
On 04/03/2012 11:38, Zaher Dirkey wrote:
> On Sat, Mar 3, 2012 at 9:33 PM, Martin <lazarus at mfriebe.de
> <mailto: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)?
(If SynEdit is used in a project, then you need only rebuild the
package, no need to rebuild the IDE / no harm either)
And (silly question, but to be sure) your project uses debug info too?
(and is set to "automatic" too? / though probably mixing stabs/dwarf
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.
- 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
> >If you need many packages, and all of them have a common required
> package (most packages require FCL), then open that common required
> package. go to options, and in the section "Usage" "add options to
> dependant package) add the debug info switches (or add
> $(IDEBuildOptions) )
> Not sure, but that add the debug info to my project? maybe i am not
> understand yet.
> I am using last reversion of Lazarus, FPC 2.6
> Best Regards
> Zaher Dirkey
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus