31i73 / atom-dbg

An Atom package - An interactive debugger frontend
https://atom.io/packages/dbg
MIT License
30 stars 4 forks source link

Uncaught TypeError: Cannot read property 'getText' of undefined #29

Closed vityaprogramist closed 7 years ago

vityaprogramist commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.19.3 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: dbg package 1.6.1

Stack Trace

Uncaught TypeError: Cannot read property 'getText' of undefined

At /Users/viktor/.atom/packages/dbg/lib/view/CustomPanel.coffee:186

TypeError: Cannot read property 'getText' of undefined
    at CustomPanel.module.exports.CustomPanel.getOptions (/packages/dbg/lib/view/CustomPanel.coffee:186:25)
    at CustomPanel.module.exports.CustomPanel.saveOptions (/packages/dbg/lib/view/CustomPanel.coffee:219:14)
    at /packages/dbg/lib/view/CustomPanel.coffee:125:44)

Commands

     -0:18.6.0 dbg:custom-debug (li.file.entry.list-item.status-modified.selected)
     -0:12 editor:select-to-first-character-of-line (input.hidden-input)
     -0:11.6.0 core:backspace (input.hidden-input)
     -0:08.8.0 core:undo (input.hidden-input)

Non-Core Packages

atom-clock 0.1.13 
autocomplete-clang 0.11.3 
autocomplete-cmake 0.3.1 
build-cmake 0.10.1 
busy-signal 1.4.3 
dbg 1.6.1 
dbg-gdb 1.7.6 
intentions 1.1.5 
language-cmake 0.3.0 
linter 2.2.0 
linter-clang 4.1.2 
linter-ui-default 1.6.7 
markdown-preview-plus 2.4.10 
markdown-writer 2.6.5 
output-panel 0.3.4 
chuck-r commented 7 years ago

This is related to Issue #27. My pull request should fix the issue for you.