willyelm / xatom-debug

A Simple Debugger Provider for Atom
MIT License
71 stars 5 forks source link

atom.workspace[("add" + value)] is not a function - Failed to activate the xatom-debug package #11

Closed hg42 closed 7 years ago

hg42 commented 7 years ago

[Enter steps to reproduce:]

  1. start atom

Atom: 1.16.0 x64 Electron: 1.3.13 OS: Linux Debian Thrown From: xatom-debug package 1.5.13

Stack Trace

Failed to activate the xatom-debug package

At atom.workspace[("add" + value)] is not a function

TypeError: atom.workspace[("add" + value)] is not a function
    at /packages/xatom-debug/lib/main.js:51:62
    at Config.module.exports.Config.observeKeyPath (/app.asar/src/config.js:616:7)
    at Config.module.exports.Config.observe (/app.asar/src/config.js:141:21)
    at Object.activate (/packages/xatom-debug/lib/main.js:41:31)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:218:19)
    at /app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at /app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
    at /app.asar/node_modules/settings-view/lib/package-manager.js:484:29
    at exit (/app.asar/node_modules/settings-view/lib/package-manager.js:99:16)
    at triggerExitCallback (/app.asar/src/buffered-process.js:322:11)
    at /app.asar/src/buffered-process.js:343:11
    at /app.asar/src/buffered-process.js:204:9)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

Commands

  2x -4:10.7.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-atom-light-ui.theme-clean-simple-light-syntax)
     -3:57.4.0 settings-view:open (atom-workspace.workspace.scrollbars-visible-always.theme-atom-light-ui.theme-clean-simple-light-syntax)
  3x -0:19.3.0 core:backspace (input.hidden-input)
     -0:14.9.0 core:confirm (input.hidden-input)

Non-Core Packages

add-cursors 0.2.2 
android 0.1.0 
api-docs 0.0.6 
atom-codesearch 0.4.0 
atom-copy-on-select 1.4.0 
atom-cursor-indent 0.1.1 
atom-hg 2.0.14 
atom-hot-package-loader 0.5.1 
atom-idle-autosave 0.3.0 
atom-jscad 1.2.1 
atom-material-ui 1.3.9 
atom-meld 0.3.3 
atom-node-v8-inspector 0.1.1 
atom-react-native-autocomplete 0.0.27 
atom-react-native-css 1.1.3 
atom-status-text 0.3.0 
auto-detect-indentation 1.3.0 
autocomplete 0.47.0 
bang 2.1.0 
bracket-matcher-highlight 0.5.0 
browser-plus 0.0.87 
busy 0.7.0 
busy-signal 1.3.0 
character-table 0.4.3 
chmod 0.1.1 
clean-simple-light-syntax 0.1.0 
clone-cursor 1.1.2 
color-picker 2.2.5 
command-toolbar 1.0.12 
context-git 0.15.7 
cursor-blink-interval 0.3.1 
disable-keybindings 0.6.0 
ease-blink 0.7.0 
env-from-shell 0.3.0 
file-icons 2.1.3 
filesize 2.0.4 
find-in-directory 1.1.0 
find-selection 0.16.0 
foldername-tabs 0.2.4 
git-control 0.9.0 
git-gui 0.1.27 
git-log 0.4.1 
git-plus 7.4.0 
git-time-machine 1.5.9 
grammar-token-limit 0.1.1 
highlight-column 0.5.2 
intentions 1.1.2 
jscad-viewer 1.2.0 
lame-sauce-ui 0.2.0 
language-ini 1.19.0 
language-javascript-better 1.7.1 
language-javascript-jsx 0.3.7 
language-livescript-edge 1.0.2 
language-regexp 1.0.1 
light-bint-ui 1.0.10 
linter 2.1.4 
linter-coffeescript 1.0.0 
linter-gcc 0.7.1 
linter-lsc 2.3.0 
linter-ui-default 1.2.3 
make-executable 0.1.1 
min-ui 0.0.4 
multiline-tab 0.2.0 
navigate-indent 0.1.0 
numix-ui 0.2.2 
open-file-in 1.2.3 
outline-selection 0.3.1 
package-list 0.1.2 
package-settings 1.1.0 
pattern-navigator 0.0.1 
persistent-undo 1.2.0 
pigments 0.39.1 
pretty-dir 0.0.17 
preview 0.17.0 
process-palette 0.12.0 
quick-highlight 0.8.1 
rainbow-delimiters 1.3.0 
recent-files-fuzzy-finder 0.3.1 
regex-filter-and-generator 1.4.2 
regex-railroad-diagram 0.16.0 
regex-tester 0.2.0 
resize-indent 0.3.0 
run-in-atom 1.0.5 
save-commands 0.6.11 
screen-recorder 1.2.3 
scroll-searcher 5.2.0 
selection-highlight 0.1.6 
sequential-command 0.3.0 
simple-drag-drop-text 0.3.4 
source-preview 0.5.0 
split-diff 1.3.0 
split-selection-into-cursors 0.2.0 
status-bar-cursor-position 0.8.0 
Sublime-Style-Column-Selection 1.7.4 
suranyami-light-ui 2.0.0 
svg-preview 0.11.0 
swackets 0.26.0 
sync-settings 0.8.1 
tab-smart-sort 0.3.0 
temporary-root 1.0.1 
todo 0.6.0 
toggle-packages 1.1.0 
toggle-quotes 1.0.1 
tool-bar 1.1.0 
trailing-spaces 0.4.0 
transpose-selection 1.1.0 
tree-view-breadcrumb 0.8.1 
tree-view-git-branch 0.1.2 
tree-view-git-status 1.3.1 
tree-view-open-files 0.3.0 
tree-view-search-bar 0.1.3 
tree-view-sort 0.7.0 
undo-tree 0.2.0 
update-changelogs 0.1.0 
updater-notify 0.5.5 
working-files 0.6.5 
wrap-with-anything 0.1.1 
xatom-debug 1.5.13 
xuh-ui 0.2.1 
hg42 commented 7 years ago

this is caused by #10