Fix StrLib test case by fixing pcall to restore currenct call after exceptions

This commit is contained in:
James Roseborough
2007-10-06 18:48:37 +00:00
parent 0353660299
commit 251e055594
2 changed files with 12 additions and 11 deletions

View File

@@ -52,6 +52,11 @@ public class DebugStackState extends StackState implements DebugRequestListener
public DebugStackState() {
}
protected void debugAssert(boolean b) {
if ( ! b )
error( "assert failure" );
}
public void addDebugEventListener(DebugEventListener listener) {
if (!debugEventListeners.contains(listener)) {
debugEventListeners.add(listener);