Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'destroy' of undefined #14

Open
NuclearCookie opened this issue Oct 28, 2015 · 0 comments
Open

Comments

@NuclearCookie
Copy link

[Enter steps to reproduce below:]

After some undoing, I tried to remove my breakpoint

Atom Version: 1.0.19
System: Linux Mint
Thrown From: atom-gdb package, v0.4.0

Stack Trace

Uncaught TypeError: Cannot read property 'destroy' of undefined

At /home/pieter/.atom/packages/atom-gdb/lib/atom-gdb.coffee:145

TypeError: Cannot read property 'destroy' of undefined
  at Object.module.exports.AtomGdb.toggleBreakpoint (/home/pieter/.atom/packages/atom-gdb/lib/atom-gdb.coffee:145:35)
  at atom-text-editor.subscriptions.add.atom.commands.add.atom-gdb:toggle-breakpoint (/home/pieter/.atom/packages/atom-gdb/lib/atom-gdb.coffee:35:96)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:245:29)
  at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:184:20)

Commands

  2x -1:19.3.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:15.4.0 core:move-right (atom-text-editor.editor.is-focused)
     -1:12.6.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -1:10.2.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:08.6.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
  2x -0:50.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:48.4.0 core:save (atom-text-editor.editor.is-focused)
     -0:43.9.0 atom-gdb:toggle-breakpoint (atom-text-editor.editor.is-focused)
     -0:43 build:trigger (atom-text-editor.editor.is-focused)
     -0:35 core:copy (atom-text-editor.editor.is-focused)
 95x -0:33.6.0 core:undo (atom-text-editor.editor.is-focused)
  2x -0:19.8.0 core:redo (atom-text-editor.editor.is-focused)
     -0:18.1.0 core:undo (atom-text-editor.editor.is-focused)
     -0:17.2.0 core:redo (atom-text-editor.editor.is-focused)
     -0:10.2.0 core:paste (atom-text-editor.editor.is-focused)
     -0:04.0 atom-gdb:toggle-breakpoint (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ],
    "excludeVcsIgnoredPaths": false
  },
  "atom-gdb": {
    "debuggerCommand": "nemiver"
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.3.0
atom-gdb, v0.4.0
build, v0.48.0
file-icons, v1.6.11
language-lua, v0.9.4
project-manager, v2.6.5
sass-watch, v0.3.1
switch-header-source, v0.20.0

# Dev
No dev packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant