Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2019-03

fpdoc: what does the --marco parameter do?

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

The FPDoc PDF documentation for 3.0.4 doesn't mention maybe it is something for 3.2.0 and later only?

I'm trying to debug fpdoc, but for the life of me, I can't get Lazarus to step into the code other than the program unit's main code block. I set the starting directory, I set the --project=myfile.xml as the run parameter, but still no luck. I'm running Linux if that matters.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys
Graeme Geldenhuys wrote
I'm trying to debug fpdoc, but for the life of me, I can't get Lazarus to step into the code other than the program unit's main code block.

Got this part sorted - MSEide to the rescue! I set the exact same run parameters (starting directory and --project=xyz run parameter) and MSEide breaks and steps into the code without problem.

What's up Lazarus??

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Sven Barth
to Graeme Geldenhuys

Graeme Geldenhuys schrieb am Sa., 23. März
2019, 17:40:

Show quoted text 10 lines
On 23/03/2019 16:34, Graeme Geldenhuys wrote: > I'm trying to debug fpdoc, but for the life of me, I can't get Lazarus > to step into the code other than the program unit's main code block. Got this part sorted - MSEide to the rescue! I set the exact same run parameters (starting directory and --project=xyz run parameter) and MSEide breaks and steps into the code without problem. What's up Lazarus??

Maybe better ask that on the Lazarus list? 🤨

Regards,
Sven

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys: The FPDoc PDF documentation for 3.0.4 doesn't mention maybe it is something for 3.2.0 and…
Graeme Geldenhuys wrote
The FPDoc PDF documentation for 3.0.4 doesn't mention maybe it is something for 3.2.0 and later only?

Yes.

The XML project file needs some parametrization - for example the location of the sources. So it contains macros.

The --macro option (the name is maybe a little obtuse) is used to replace the parameter name with a parameter value.

Michael.

Reply by email