add breakpoint even if no compilation data

pull/1/head
yann300 8 years ago
parent c3f2b56ccc
commit 1250d12eb5
  1. 8
      src/app/debugger.js

@ -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) {

Loading…
Cancel
Save