Permalink
Browse files

Add debugging statements to p5 eval.

  • Loading branch information...
1 parent 935bc30 commit ee9b534a734af313d3ca37f9b67535ac3a58e016 @pmurias pmurias committed Oct 2, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/p5embed.c
View
5 lib/p5embed.c
@@ -30,7 +30,10 @@ void p5embed_initialize()
}
SV* p5embed_eval(char* code) {
- return eval_pv(code,TRUE);
+ printf("# evaling code...\n");
+ SV* ret = eval_pv(code,TRUE);
+ printf("# survived evaling code...\n");
+ return ret;
}
void p5embed_dispose()

0 comments on commit ee9b534

Please sign in to comment.