Commit 1250d12e authored by yann300's avatar yann300

add breakpoint even if no compilation data

parent c3f2b56c
......@@ -22,15 +22,11 @@ function Debugger (id, appAPI, executionContextEvent, editorEvent) {
var self = this
editorEvent.register('breakpointCleared', (fileName, row) => {
if (self.appAPI.lastCompilationResult().data) {
this.breakPointManager.remove({fileName: fileName, row: row})
}
this.breakPointManager.remove({fileName: fileName, row: row})
})
editorEvent.register('breakpointAdded', (fileName, row) => {
if (self.appAPI.lastCompilationResult().data) {
this.breakPointManager.add({fileName: fileName, row: row})
}
this.breakPointManager.add({fileName: fileName, row: row})
})
executionContextEvent.register('contextChanged', this, function (context) {
......
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