31i73 / atom-dbg-gdb

An Atom package - A GDB debugger
https://atom.io/packages/dbg-gdb
MIT License
16 stars 10 forks source link

Uncaught TypeError: Cannot read property 'trim' of undefined #47

Closed TakudzwaMakoni closed 4 years ago

TakudzwaMakoni commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.41.0 x64 Electron: 4.2.12 OS: "Arch Linux" Thrown From: dbg-gdb package 1.7.8

Stack Trace

Uncaught TypeError: Cannot read property 'trim' of undefined

At /home/takudzwa/.atom/packages/dbg-gdb/lib/main.coffee:303

TypeError: Cannot read property 'trim' of undefined
    at process.BufferedProcess.stdout (/packages/dbg-gdb/lib/main.coffee:303:54)
    at Socket.stream.on.data (/usr/lib/atom/src/buffered-process.js:161:9)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:260:13)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Commands

     -3:28.5.0 core:backspace (input.hidden-input)
     -2:49.9.0 intentions:highlight (input.hidden-input)
     -2:49.6.0 core:save (input.hidden-input)
  2x -1:03.1.0 dbg:pause-continue (input.hidden-input)

Non-Core Packages

atom-black-syntax 0.33.0 
atom-clock 0.1.17 
black-ui 0.3.7 
busy-signal 2.0.1 
city-lights-icons 1.1.1 
city-lights-syntax 1.1.8 
city-lights-ui 1.5.3 
clang-format 2.0.8 
dbg 1.6.3 
dbg-gdb 1.7.8 
intentions 1.1.5 
linter 2.3.1 
linter-clang 4.1.2 
linter-flake8 2.4.0 
linter-shellcheck 1.6.0 
linter-ui-default 1.8.0 
minimap 4.29.9 
output-panel 0.3.4