Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better debugging info.

  • Loading branch information...
commit 5925ffbf68fd227e3a8bd4bc81f11697db94d3a7 1 parent b5327f3
Paul Johnson authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 Cover.xs
8 Cover.xs
View
@@ -375,7 +375,7 @@ static OP *get_condition(pTHX)
else
{
PDEB(D(L, "All is lost, I know not where to go from %p, %p: %p\n",
- PL_op, PL_op->op_targ, *pc));
+ PL_op, PL_op->op_targ, pc));
PDEB(svdump(Pending_conditionals));
exit(1);
}
@@ -554,8 +554,10 @@ static void cover_logop(pTHX)
cond = newSViv(PTR2IV(PL_op));
av_push(conds, cond);
- NDEB(D(L, "Adding conditional %p to %p, making %d at %p\n",
- next, next->op_targ, av_len(conds) - 1, PL_op));
+ NDEB(D(L, "Adding conditional %p to %p, "
+ "making %d at %p, ppaddr: %p\n",
+ next, next->op_targ, av_len(conds) - 1, PL_op,
+ next->op_ppaddr));
NDEB(svdump(Pending_conditionals));
NDEB(op_dump(PL_op));
NDEB(op_dump(next));
Please sign in to comment.
Something went wrong with that request. Please try again.