Permalink
Browse files

Fix dumping of context stack

  • Loading branch information...
ashb committed Aug 8, 2009
1 parent 6623349 commit 68c7896e183e0270337d89200f51efa5c999e432
Showing with 4 additions and 1 deletion.
  1. +4 −1 TryCatch.xs
View
@@ -19,10 +19,13 @@ dump_cxstack()
default:
continue;
case CXt_EVAL:
- case CXt_FORMAT:
+ printf("***\n* cx stack %d\n", (int)i);
+ sv_dump((SV*)cx->blk_eval.cv);
+ break;
case CXt_SUB:
printf("***\n* cx stack %d\n", (int)i);
sv_dump((SV*)cx->blk_sub.cv);
+ break;
}
}
return i;

0 comments on commit 68c7896

Please sign in to comment.