-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
better document debug macros #393
Comments
This needs to be in an updated "developer's guide": To generate a stack-trace to help us debug a problem, please first of all do
Then please open an issue on whichever repo is relevant (possibly PDL, possibly in this context PDL-OpenCV) with your |
Techniques to be discussed should include the new Also to be discussed: code generation; cf PDL::Slatec, PDL::LinearAlgebra::Complex, and now PDL::OpenCV. |
Also in design thinking: broadcasting from the start (and pthreading, where relevant). |
To see how PP processes one operation's
and after:
Also, for "core" modules, the Additionally, it can be useful to inspect e.g. |
Include techniques shown in #457, and the new graphviz stuff as shown in https://sourceforge.net/p/pdl/mailman/message/58730063/ |
Include techniques of |
The fancy |
The discussion of internals and dataflow in moocow-the-bovine/PDL-CCS#5 should be extracted from. |
See #463 for notes on |
* Basic/Pod/DeveloperGuide.pod: Delete the sections "Access to PDL's configuration" and "Ingesting an external PDL module". Document $::PP_VERBOSE and $PDL::Graphics::TriD::verbose. Add a section "Generating a Stack Trace" taken from GitHub issue PDLPorters#393. Add some more mappings to the package->source file table. * Basic/PDL.pm: Link to the Developer Guide under LANGUAGE DOCUMENTATION. * Basic/Pod/FAQ.pod: Link to the Developer Guide in Q: 3.5. * Basic/Pod/QuickStart.pod: Link to the Developer Guide. Also remove a phrase "until recently" which was recent ... in 1998, and don't mention HTML copies of the documentation which are no longer generated (and https://perldoc.perl.org exists).
The recipe to create a stack trace and documentation of |
adjusted after review: * Basic/Pod/DeveloperGuide.pod: Delete the sections "Access to PDL's configuration" and "Ingesting an external PDL module". Document $::PP_VERBOSE and $PDL::Graphics::TriD::verbose. Add a section "Generating a Stack Trace" taken from GitHub issue PDLPorters#393. Add some more mappings to the package->source file table. * Basic/PDL.pm: Link to the Developer Guide under LANGUAGE DOCUMENTATION. * Basic/Pod/FAQ.pod: Link to the Developer Guide in Q: 3.5. * Basic/Pod/QuickStart.pod: Link to the Developer Guide. Also remove a phrase "until recently" which was recent ... in 1998, and don't mention HTML copies of the documentation which are no longer generated (and https://perldoc.perl.org exists). Changes according to mohawk2's review: * Mention $PDL::verbose and PDL::debug. * Adapt the section to organize commit to current best practice "one commit per small, meaningfil change" * Delete modules outside the repository from the module->file table * Add a line describing pdldoc
adjusted after review: * Basic/Pod/DeveloperGuide.pod: Delete the sections "Access to PDL's configuration" and "Ingesting an external PDL module". Document $::PP_VERBOSE and $PDL::Graphics::TriD::verbose. Add a section "Generating a Stack Trace" taken from GitHub issue #393. Add some more mappings to the package->source file table. * Basic/PDL.pm: Link to the Developer Guide under LANGUAGE DOCUMENTATION. * Basic/Pod/FAQ.pod: Link to the Developer Guide in Q: 3.5. * Basic/Pod/QuickStart.pod: Link to the Developer Guide. Also remove a phrase "until recently" which was recent ... in 1998, and don't mention HTML copies of the documentation which are no longer generated (and https://perldoc.perl.org exists). Changes according to mohawk2's review: * Mention $PDL::verbose and PDL::debug. * Adapt the section to organize commit to current best practice "one commit per small, meaningfil change" * Delete modules outside the repository from the module->file table * Add a line describing pdldoc
On adding badvalue-awareness; I believe fd41378 is a nice demonstration (for |
As discussed with Ed, please add using debugging macros to the documents.
The text was updated successfully, but these errors were encountered: