Commit ef7ec7d2 authored by yann300's avatar yann300

fix error message

parent c99564d9
......@@ -33,7 +33,7 @@ class breakpointManager {
try {
sourceLocation = await this.debugger.callTree.extractSourceLocation(currentStep)
} catch (e) {
console.log('cannot jump to breakpoint ' + e.message)
console.log('cannot jump to breakpoint ' + e)
}
if (this.locationToRowConverter) {
var lineColumn = this.locationToRowConverter(sourceLocation)
......
......@@ -119,7 +119,7 @@ async function buildTree (tree, step, scopeId) {
currentSourceLocation = sourceLocation
}
} catch (e) {
return { outStep: step, error: 'InternalCallTree - Error resolving source location. ' + step + ' ' + e.message }
return { outStep: step, error: 'InternalCallTree - Error resolving source location. ' + step + ' ' + e }
}
if (!sourceLocation) {
return { outStep: step, error: 'InternalCallTree - No source Location. ' + step }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment