Skip to content

Commit

Permalink
Use full path for haxe.CallStack
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Apr 4, 2024
1 parent 6d67852 commit 23dadf0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/HLAdapter.hx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import haxe.CallStack;
import Utils;

import vscode.debugProtocol.DebugProtocol;
Expand Down Expand Up @@ -95,7 +94,7 @@ class HLAdapter extends DebugSession {
if( args.allowEval != null ) allowEvalGetters = args.allowEval;

function onError(e) {
error(cast response, e + "\n" + CallStack.toString(CallStack.exceptionStack()));
error(cast response, e + "\n" + haxe.CallStack.toString(haxe.CallStack.exceptionStack()));
sendEvent(new TerminatedEvent());
}

Expand All @@ -114,7 +113,7 @@ class HLAdapter extends DebugSession {
});
}
} catch( e : Dynamic ) {
onError(e + "\n" + CallStack.toString(CallStack.exceptionStack()));
onError(e + "\n" + haxe.CallStack.toString(haxe.CallStack.exceptionStack()));
}
}

Expand Down

0 comments on commit 23dadf0

Please sign in to comment.