improve debugger error reporting.
This commit is contained in:
parent
185495c0ad
commit
a2a554f17f
@ -370,6 +370,7 @@ Yap_bug_location(yamop *pc)
|
|||||||
CACHE_REGS
|
CACHE_REGS
|
||||||
detect_bug_location(pc, FIND_PRED_FROM_ANYWHERE, (char *)H, 256);
|
detect_bug_location(pc, FIND_PRED_FROM_ANYWHERE, (char *)H, 256);
|
||||||
fprintf(stderr,"%s\n",(char *)H);
|
fprintf(stderr,"%s\n",(char *)H);
|
||||||
|
dump_stack( PASS_REGS1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user