From: Hans-Peter D. <DrD...@ao...> - 2008-08-05 12:58:57
|
Michalis Kamburelis schrieb: >> Can somebody tell me how to enable debug features in PasDoc? > More info: > make > is equivalent to > make default > which is equivalent to > make build-fpc-default-debug > which is roughly equivalent to > fpc -FEbin -FUlib @pasdoc-fpc.cfg (...-Fu and -Fi options specifying > unit paths) ./source/console/pasdoc.dpr > > So all compiler options from pasdoc-fpc.cfg file are used (with RELEASE > symbol *not* defined). So this already includes -Sa to check assertions, > and many more checks and debug info. It was unclear what finally was compiled, and why. Now I have more hints on the interpretation of the MakeFile :-) > More info: run "make help" and wiki page CompilingPasDoc. Perhaps I entered "make help" in the wrong directory... > Another note: if you want comfortable GUI debugger, much like Delphi, > pasdoc can be compiled with Lazarus. I had done that since months, if I only could install Lazarus on Linux (perhaps a 64 bit problem?). FP seems not to be readily usable for PasDoc. In both cases required units are not found, perhaps a problem with search pathes? The Windows version of Lazarus tends to crash or to go into infinite loops, sometimes just while loading a project. Even after installation of the pasdoc_package, Lazarus hangs in loading PasDoc_gui. But I'll give it another try, with the console version... DoDi |