improve debugger error reporting.

This commit is contained in:
Vitor Santos Costa 2011-10-12 23:50:49 +01:00
parent 185495c0ad
commit a2a554f17f
1 changed files with 1 additions and 0 deletions

View File

@ -370,6 +370,7 @@ Yap_bug_location(yamop *pc)
CACHE_REGS
detect_bug_location(pc, FIND_PRED_FROM_ANYWHERE, (char *)H, 256);
fprintf(stderr,"%s\n",(char *)H);
dump_stack( PASS_REGS1 );
}
#endif