summaryrefslogtreecommitdiff
path: root/vms/perlvms.pod
diff options
context:
space:
mode:
authorJohn E. Malmberg <wb8tyw@qsl.net>2006-02-04 11:04:32 -0500
committerCraig A. Berry <craigberry@mac.com>2006-02-07 04:39:09 +0000
commit9c1171d132d2d0b98d01b0c7b49b681bc94c3940 (patch)
treed6a773236cb88b4f47c80a1785fc74547052c76f /vms/perlvms.pod
parent2f040f7f3a7618c48a8d153deb2b7e4a59efefb0 (diff)
downloadperl-9c1171d132d2d0b98d01b0c7b49b681bc94c3940.tar.gz
patch@27082 Allow fatal exceptions to bring up VMS debugger
From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <43E516E0.1000508@qsl.net> p4raw-id: //depot/perl@27114
Diffstat (limited to 'vms/perlvms.pod')
-rw-r--r--vms/perlvms.pod24
1 files changed, 24 insertions, 0 deletions
diff --git a/vms/perlvms.pod b/vms/perlvms.pod
index 78655d245c..8bcb8eb840 100644
--- a/vms/perlvms.pod
+++ b/vms/perlvms.pod
@@ -367,6 +367,30 @@ The PERL5LIB and PERLLIB logical names work as documented in L<perl>,
except that the element separator is '|' instead of ':'. The
directory specifications may use either VMS or Unix syntax.
+=head1 PERL_VMS_EXCEPTION_DEBUG
+
+The PERL_VMS_EXCEPTION_DEBUG being defined as "ENABLE" will cause the VMS
+debugger to be invoked if a fatal exception that is not otherwise
+handled is raised. The purpose of this is to allow debugging of
+internal Perl problems that would cause such a condition.
+
+This allows the programmer to look at the execution stack and variables to
+find out the cause of the exception. As the debugger is being invoked as
+the Perl interpreter is about to do a fatal exit, continuing the execution
+in debug mode is usally not practical.
+
+Starting Perl in the VMS debugger may change the program execution
+profile in a way that such problems are not reproduced.
+
+The C<kill> function can be used to test this functionality from within
+a program.
+
+In typical VMS style, only the first letter of the value of this logical
+name is actually checked in a case insensitive mode, and it is considered
+enabled if it is the value "T","1" or "E".
+
+This logical name must be defined before Perl is started.
+
=head1 Command line
=head2 I/O redirection and backgrounding