Somehow, a breakpoint for a file with a path of undefined got added. This makes a connected debugger fail and the server hang.
Atom: 1.26.1 x64
Electron: 1.7.11
OS: Microsoft Windows 10 Pro
Thrown From: php-debug package 0.2.6
Stack Trace
Uncaught TypeError: Cannot read property 'indexOf' of undefined
At C:\Users\djmar\.atom\packages\php-debug\lib\helpers.coffee:71
TypeError: Cannot read property 'indexOf' of undefined
at Object.exports.localPathToRemote (/packages/php-debug/lib/helpers.coffee:71:17)
at DbgpInstance.module.exports.DbgpInstance.executeBreakpointRemove (/packages/php-debug/lib/engines/dbgp/dbgp-instance.coffee:218:20)
at DbgpInstance.executeBreakpointRemove (/packages/php-debug/lib/engines/dbgp/dbgp-instance.coffee:1:1)
at /packages/php-debug/lib/php-debug.coffee:204:53
at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/scrollbar-style/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/scrollbar-style/node_modules/event-kit/lib/emitter.js:125:28)
at GlobalContext.module.exports.GlobalContext.notifyBreakpointsChange (/packages/php-debug/lib/models/global-context.coffee:124:14)
at GlobalContext.module.exports.GlobalContext.setBreakpoints (/packages/php-debug/lib/models/global-context.coffee:59:6)
at Object.clearAllBreakpoints (/packages/php-debug/lib/php-debug.coffee:478:20)
at /packages/php-debug/lib/php-debug.coffee:162:97)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.26.1/resources/app/src/command-registry.js:384:49)
at Object.didConfirmSelection (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/command-palette/lib/command-palette-view.js:152:35)
at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/atom-select-list/src/select-list-view.js:401:26)
at HTMLDivElement.core:confirm (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/atom-select-list/src/select-list-view.js:106:20)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.26.1/resources/app/src/command-registry.js:384:49)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.26.1/resources/app/src/window-event-handler.js:110:40)
[Enter steps to reproduce:]
Somehow, a breakpoint for a file with a path of
undefined
got added. This makes a connected debugger fail and the server hang.Atom: 1.26.1 x64 Electron: 1.7.11 OS: Microsoft Windows 10 Pro Thrown From: php-debug package 0.2.6
Stack Trace
Uncaught TypeError: Cannot read property 'indexOf' of undefined
Commands
Non-Core Packages