3 * Copyright (c) 1991-1999, Larry Wall
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
14 * "Away now, Shadowfax! Run, greatheart, run as you have never run before!
15 * Now we are come to the lands where you were foaled, and every stone you
16 * know. Run now! Hope is in speed!" --Gandalf
20 #define CALLOP this->*PL_op
30 while ( PL_op = (CALLOP->op_ppaddr)(ARGS) ) ;
38 static void debprof (OP*o);
41 #endif /* DEBUGGING */
49 warn("NULL OP IN RUN");
55 if (PL_watchaddr != 0 && *PL_watchaddr != PL_watchok)
56 PerlIO_printf(Perl_debug_log, "WARNING: %lx changed from %lx to %lx\n",
57 (long)PL_watchaddr, (long)PL_watchok, (long)*PL_watchaddr);
59 DEBUG_t(debop(PL_op));
60 DEBUG_P(debprof(PL_op));
62 } while ( PL_op = (CALLOP->op_ppaddr)(ARGS) );
67 return runops_standard();
68 #endif /* DEBUGGING */
77 deb("%s", PL_op_name[o->op_type]);
80 PerlIO_printf(Perl_debug_log, "(%s)", SvPEEK(cSVOPo->op_sv));
86 gv_fullname3(sv, cGVOPo->op_gv, Nullch);
87 PerlIO_printf(Perl_debug_log, "(%s)", SvPV(sv, n_a));
91 PerlIO_printf(Perl_debug_log, "(NULL)");
96 PerlIO_printf(Perl_debug_log, "\n");
97 #endif /* DEBUGGING */
108 PerlIO_printf(Perl_debug_log, "WATCHING, %lx is currently %lx\n",
109 (long)PL_watchaddr, (long)PL_watchok);
110 #endif /* DEBUGGING */
118 Newz(000, PL_profiledata, MAXO, U32);
119 ++PL_profiledata[o->op_type];
120 #endif /* DEBUGGING */
130 for (i = 0; i < MAXO; i++) {
131 if (PL_profiledata[i])
132 PerlIO_printf(Perl_debug_log,
133 "%5lu %s\n", (unsigned long)PL_profiledata[i],
136 #endif /* DEBUGGING */