gwomacks/php-debug

Failed to activate the php-debug package

Opened this issue · 5 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.29.0 x64
Electron: 2.0.5
OS: "openSUSE Leap
Thrown From: php-debug package 0.3.5

Stack Trace

Failed to activate the php-debug package

At Cannot read property 'hasPanels' of undefined

TypeError: Cannot read property 'hasPanels' of undefined
    at /packages/php-debug/lib/engines/dbgp/debugging-context.js:514:32
    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 PanelManager.onDestroyed (/packages/atom-debug-ui/lib/services/debugcontextview.js:233:27)
    at PanelManager.destroy (/packages/atom-debug-ui/lib/unified/debug-ui-unified-view.js:197:12)
    at DebugViewService.destroy (/packages/atom-debug-ui/lib/services/debugview.js:247:42)
    at ServiceManager.destroy (/packages/atom-debug-ui/lib/services.js:289:49)
    at PHPDebug.consumeDebugUI (/packages/php-debug/lib/php-debug.js:226:24)
    at Provider.module.exports.Provider.provide (/usr/share/atom/resources/app/node_modules/service-hub/lib/provider.js:34:58)
    at ServiceHub.module.exports.ServiceHub.consume (/usr/share/atom/resources/app/node_modules/service-hub/lib/service-hub.js:50:24)
    at Package.activateServices (/usr/share/atom/resources/app/src/package.js:405:79)
    at Package.activateNow (/usr/share/atom/resources/app/src/package.js:233:20)
    at measure (/usr/share/atom/resources/app/src/package.js:206:33)
    at Package.measure (/usr/share/atom/resources/app/src/package.js:88:25)
    at activationPromise.Promise (/usr/share/atom/resources/app/src/package.js:200:20)
    at new Promise (<anonymous>)
    at Package.activate (/usr/share/atom/resources/app/src/package.js:198:38)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/src/package-manager.js:695:42)
    at packagesToEnable.forEach.name (/usr/share/atom/resources/app/src/package-manager.js:440:51)
    at Array.forEach (<anonymous>)
    at disabledPackagesSubscription.config.onDidChange (/usr/share/atom/resources/app/src/package-manager.js:440:30)
    at emitter.on (/usr/share/atom/resources/app/src/config.js:1067:22)
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at Config.emitChangeEvent (/usr/share/atom/resources/app/src/config.js:1226:62)
    at Config.setRawValue (/usr/share/atom/resources/app/src/config.js:1052:23)
    at Config.set (/usr/share/atom/resources/app/src/config.js:715:18)
    at Config.removeAtKeyPath (/usr/share/atom/resources/app/src/config.js:905:16)
    at Package.enable (/usr/share/atom/resources/app/src/package.js:75:30)
    at PackageManager.enablePackage (/usr/share/atom/resources/app/src/package-manager.js:246:18)
    at HTMLButtonElement.enablementButtonClickHandler (/usr/share/atom/resources/app/node_modules/settings-view/lib/package-card.js:362:31)

Commands

     -6:04.3.0 php-debug:run (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -5:58.4.0 debugger:show-attach-dialog (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -5:55.4.0 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  3x -5:44.2.0 atom-debug-ui:toggleDebugging (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -5:09.0 debugger:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -4:50.2.0 php-hyperclick:toggle (atom-pane.pane)
  2x -4:16.9.0 debugger:toggle-breakpoint (span.debugger-breakpoint-icon.debugger-breakpoint-icon-nonconditional)
     -3:31.6.0 debugger:hide (atom-pane.pane)
     -3:29.1.0 debugger:show (atom-pane.pane)
     -3:25.6.0 debugger:hide (atom-pane.pane)
     -3:20.9.0 debugger:reset-layout (atom-pane.pane)
  2x -3:03.0 core:confirm (input.hidden-input)
     -2:43.5.0 core:backspace (input.hidden-input)
  3x -2:43.2.0 core:confirm (input.hidden-input)
     -2:32.9.0 core:backspace (input.hidden-input)
  2x -2:32.7.0 core:confirm (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.8 
atom-autocomplete-php 0.25.6 
atom-beautify 0.33.0 
atom-debug-ui 1.0.4 
atom-ide-ui 0.13.0 
atom-ternjs 0.18.3 
autoclose-html 0.23.0 
autocomplete-json 5.5.2 
autocomplete-modules 2.1.4 
autocomplete-paths 2.12.2 
build-gulp 0.11.0 
busy-signal 1.4.3 
clipboard-plus 0.5.1 
color-picker 2.3.0 
copy-path 0.5.1 
css-snippets 1.1.0 
docblockr 0.13.7 
emmet 2.4.3 
emmet-snippets-compatibility 1.0.6 
file-type-icons 1.3.4 
git-control 0.9.0 
git-plus 8.0.1 
git-time-machine 2.1.0 
gulp-control 0.5.0 
gulp-snippets 0.6.2 
highlight-selected 0.14.0 
ide-php 0.7.14 
intentions 1.1.5 
jade-beautify 0.1.5 
javascript-snippets 1.2.1 
jquery-snippets 11.0.0 
jsformat 0.9.3 
language-javascript-jsx 0.3.7 
linter 2.2.0 
linter-csslint 2.0.1 
linter-php 1.5.1 
linter-sass-lint 1.8.3 
linter-scss-lint 3.1.1 
linter-tidy 2.3.1 
linter-ui-default 1.7.1 
markdown-preview-plus 3.4.0 
minimap 4.29.8 
minimap-bookmarks 0.4.2 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-linter 2.1.3 
minimap-pigments 0.2.2 
oceanic-next 1.0.0 
open-recent 5.0.0 
php-debug 0.3.5 
php-hyperclick 1.2.1 
pigments 0.40.2 
symbols-tree-view 0.14.0 
sync-settings 0.8.6 
tree-view-git-status 1.5.0 

I am experiencing this issue with macOS Sierra and Atom 1.30.0

me too ... (Windows 10 - Atom 1.31.1 x64)

Likewise - macOS 10.14.2 beta (build 18C48a), Atom 1.32.2

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.33.1 x64
Electron: 2.0.16
OS: Mac OS X 10.14.2
Thrown From: php-debug package 0.3.5

Stack Trace

Failed to activate the php-debug package

At Cannot read property 'hasPanels' of undefined

TypeError: Cannot read property 'hasPanels' of undefined
    at /packages/php-debug/lib/engines/dbgp/debugging-context.js:514:32
    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 PanelManager.onDestroyed (/packages/atom-debug-ui/lib/services/debugcontextview.js:233:27)
    at PanelManager.destroy (/packages/atom-debug-ui/lib/unified/debug-ui-unified-view.js:197:12)
    at DebugViewService.destroy (/packages/atom-debug-ui/lib/services/debugview.js:247:42)
    at ServiceManager.destroy (/packages/atom-debug-ui/lib/services.js:289:49)
    at PHPDebug.consumeDebugUI (/packages/php-debug/lib/php-debug.js:226:24)
    at Provider.t.exports.Provider.provide (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1034574)
    at ServiceHub.t.exports.ServiceHub.consume (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2946857)
    at Package.activateServices (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2954989)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2951823)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2951147)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2948778)
    at activationPromise.activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2951007)
    at new Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2950950)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382657)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:917626
    at r (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:912232)
    at o (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1037481)
    at e.bufferStream (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1037569)
    at Socket.e.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1036237)
    at emitOne (events.js:121:20)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:554:12)

Commands

     -8:00.7.0 debugger:show-attach-dialog (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -7:58.7.0 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -7:57.5.0 debugger:show-launch-dialog (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -7:54.4.0 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -7:40.9.0 debugger:toggle-breakpoint (span.debugger-breakpoint-icon.debugger-breakpoint-icon-nonconditional)
     -7:31.1.0 debugger:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -6:08.7.0 atom-debug-ui:toggleDebugging (span.debugger-breakpoint-icon.debugger-breakpoint-icon-nonconditional)
     -5:57.2.0 debugger:toggle-breakpoint (span.debugger-breakpoint-icon.debugger-breakpoint-icon-nonconditional)
     -2:13.1.0 core:confirm (input.hidden-input)
     -1:07.5.0 core:copy (atom-notification.error.icon.icon-flame.native-key-bindings.has-detail.has-close)

Non-Core Packages

atom-autocomplete-php 0.25.6 
atom-debug-ui 1.0.4 
atom-ide-ui 0.13.0 
ide-php 0.7.17 
language-mql5 0.9.0 
php-debug 0.3.5 

That's disappointing that the Atom team didn't respond to this ...