gwomacks/php-debug

Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined

Opened this issue · 0 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.36.1 x64
Electron: 2.0.18
OS: Linux Mint
Thrown From: php-debug package 0.3.5

Stack Trace

Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined

At /home/adson/.atom/packages/php-debug/lib/engines/dbgp/engine.js:58

TypeError: Cannot read property 'hasOwnProperty' of undefined
    at PHPDebugEngine.hasContext (/packages/php-debug/lib/engines/dbgp/engine.js:58:32)
    at PHPDebugEngine.tryGetContext (/packages/php-debug/lib/engines/dbgp/engine.js:101:14)
    at HTMLElement.phpDebugRun (/packages/php-debug/lib/php-debug.js:31:38)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:350103)
    at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11:348578)
    at AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app/static/<embedded>:1:702712)
    at EventEmitter.t (/usr/share/atom/resources/app/static/<embedded>:1:710635)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

     -8:20 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -8:09.7.0 debugger:show-attach-dialog (input.hidden-input)
     -8:03.8.0 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-one-light-ui)
     -7:58.2.0 debugger:show-launch-dialog (input.hidden-input)
     -7:20 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-one-light-ui)
     -6:09.7.0 debugger:toggle-breakpoint (span.highlight.atom-debug-ui-gutter.atom-debug-ui-highlight)
     -6:01.4.0 debugger:toggle-breakpoint-enabled (span.syntax--punctuation.syntax--definition.syntax--end.syntax--bracket.syntax--curly.syntax--php)
     -5:52.6.0 debugger:stop-debugging (input.hidden-input)
     -5:39.2.0 debugger:show-launch-dialog (input.hidden-input)
     -5:28.2.0 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-one-light-ui)
     -2:28.2.0 debugger:show-attach-dialog (input.hidden-input)
     -1:04.0 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-one-light-ui)
     -0:41.5.0 debugger:show (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-one-light-ui)
     -0:19.1.0 php-debug:run (atom-pane.pane)

Non-Core Packages

atom-debug-ui 1.0.4 
atom-file-icons 0.6.0 
atom-ide-ui 0.13.0 
ide-php 0.7.18 
php-debug 0.3.5