Skip to content

Commit

Permalink
Revised anchoring of dd and examples
Browse files Browse the repository at this point in the history
Refs #1303, but closes #2314. We have simply improved the position of the anchor, but we are not creating a specific page with that URL, since that would have either be hard-coded in the generation or move this function, which is Rakudo specific, somewhere else.
  • Loading branch information
JJ committed Nov 30, 2018
1 parent 08f511c commit 31dec6c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions doc/Programs/01-debugging.pod6
Expand Up @@ -2,9 +2,10 @@
=TITLE Debugging
=SUBTITLE Debug Perl 6 programs
=SUBTITLE Modules and applications used to debug Perl 6 programs
There are at least two useful debuggers available for Rakudo, the Perl 6 compiler:
There are at least two useful debuggers available for Rakudo, the Perl 6
compiler:
=item L<Debugger::UI::CommandLine|https://modules.perl6.org/repo/Debugger::UI::CommandLine>
Expand Down Expand Up @@ -48,14 +49,14 @@ lines get executed:
# say "hi"
# hi
=head2 Dumper function C<dd>
X<|dd> X<|dumper>
=head2 Dumper function C<dd>
B<Note:> this routine is a Rakudo-specific debugging feature and not
standard Perl 6.
N<This routine is a Rakudo-specific debugging feature and not
standard Perl 6.>
The Tiny Data Dumper: This function takes the input list of variables
The I<Tiny Data Dumper>: This function takes the input list of variables
and C<note>s them (on C<$*ERR>) in an easy to read format, along with
the C<name> of the variable. Thus,
Expand All @@ -70,7 +71,7 @@ dd %hash, $a;
)
=end code
to the standard error stream.
prints to the standard error stream the variables passed as argument.
Please note that C<dd> will ignore named parameters. You can use a
C<Capture> or C<Array> to force it to dump everything passed to it.
Expand Down

0 comments on commit 31dec6c

Please sign in to comment.