Commit ef7ec7d2 authored by yann300's avatar yann300

fix error message

parent c99564d9
...@@ -33,7 +33,7 @@ class breakpointManager { ...@@ -33,7 +33,7 @@ class breakpointManager {
try { try {
sourceLocation = await this.debugger.callTree.extractSourceLocation(currentStep) sourceLocation = await this.debugger.callTree.extractSourceLocation(currentStep)
} catch (e) { } catch (e) {
console.log('cannot jump to breakpoint ' + e.message) console.log('cannot jump to breakpoint ' + e)
} }
if (this.locationToRowConverter) { if (this.locationToRowConverter) {
var lineColumn = this.locationToRowConverter(sourceLocation) var lineColumn = this.locationToRowConverter(sourceLocation)
......
...@@ -119,7 +119,7 @@ async function buildTree (tree, step, scopeId) { ...@@ -119,7 +119,7 @@ async function buildTree (tree, step, scopeId) {
currentSourceLocation = sourceLocation currentSourceLocation = sourceLocation
} }
} catch (e) { } 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) { if (!sourceLocation) {
return { outStep: step, error: 'InternalCallTree - No source Location. ' + step } 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