gogoprog/atom-gdb

Uncaught Error: pid must be a number

jonnius opened this issue · 0 comments

[Enter steps to reproduce:]

  1. Try to start debugging (which seems to try starting qtcreator, but it isnt installed)
  2. Try to stop running process

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Ubuntu 20.04
Thrown From: atom-gdb package 0.6.0

Stack Trace

Uncaught Error: pid must be a number

At /home/jonatan/.atom/packages/atom-gdb/node_modules/tree-kill/index.js:18

Error: pid must be a number
    at module.exports (/packages/atom-gdb/node_modules/tree-kill/index.js:18:19)
    at Object.stopChildProcess (/packages/atom-gdb/lib/atom-gdb.js:214:33)
    at /packages/atom-gdb/lib/atom-gdb.js:55:34)
    at CommandRegistry.handleCommandEvent (/snap/atom/250/usr/share/atom/resources/app/static/<embedded>:11:349538)
    at CommandRegistry.dispatch (/snap/atom/250/usr/share/atom/resources/app/static/<embedded>:11:348013)
    at AtomEnvironment.dispatchApplicationMenuCommand (/snap/atom/250/usr/share/atom/resources/app/static/<embedded>:1:725693)
    at EventEmitter.t (/snap/atom/250/usr/share/atom/resources/app/static/<embedded>:1:733616)
    at EventEmitter.emit (events.js:182:13)

Commands

     -3:29.7.0 atom-gdb:start (input.hidden-input)
  2x -2:14 core:move-down (atom-text-editor.editor.is-focused)
  5x -2:13.3.0 core:move-up (atom-text-editor.editor.is-focused)
     -1:27.8.0 settings-view:open (input.hidden-input)
     -1:02.9.0 core:select-all (input.hidden-input)
     -0:30.3.0 atom-gdb:start (input.hidden-input)
     -0:21.9.0 atom-gdb:stop (atom-notification.warning.icon.icon-alert.native-key-bindings.has-close)
     -0:12.5.0 atom-gdb:start (input.hidden-input)
     -0:05.6.0 atom-gdb:stop (input.hidden-input)

Non-Core Packages

atom-build-clickable 0.3.0 
atom-gdb 0.6.0 
build 0.70.0 
busy-signal 2.0.1 
dbg 1.6.3 
dbg-gdb 1.7.8 
output-panel 0.3.4