Code Monkey home page Code Monkey logo

xatom-debug's People

Contributors

dependabot[bot] avatar gitter-badger avatar willyelm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xatom-debug's Issues

Uncaught TypeError: Cannot read property 'id' of undefined

No steps to reproduce. It happens in many operations, like search in project, compare files, trying to debug with atom-ide-ui enabled (btw, this is disabled because of this).

Atom: 1.21.1 x64
Electron: 1.6.15
OS: Unknown Windows version
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot read property 'id' of undefined

At ~\AppData\Local\atom\app-1.21.1\resources\app\src\text-editor-component.js:647

TypeError: Cannot read property 'id' of undefined
    at extraRenderedScreenLines.forEach (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:647:45)
    at Map.forEach (native)
    at TextEditorComponent.renderLineTiles (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:644:43)
    at TextEditorComponent.renderContent (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:587:18)
    at TextEditorComponent.renderScrollContainer (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:562:18)
    at TextEditorComponent.render (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:507:20)
    at Object.updateSync (~/AppData/Local/atom/app-1.21.1/resources/app/node_modules/etch/lib/component-helpers.js:107:40)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:384:16)
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.21.1/resources/app/src/text-editor-component.js:2380:18)
    at HTMLElement.screenPositionForPixelPosition (/app.asar/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

     -9:47.1.0 editor:newline (input.hidden-input)
  2x -9:37.2.0 editor:delete-line (input.hidden-input)
  5x -9:19.2.0 intentions:highlight (input.hidden-input)
     -9:18.6.0 core:copy (input.hidden-input)
     -8:27.3.0 intentions:highlight (input.hidden-input)
     -8:27.1.0 settings-view:open (input.hidden-input)
  2x -8:22.6.0 core:confirm (input.hidden-input)
     -4:08.9.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -3:59.1.0 intentions:highlight (input.hidden-input)
     -3:59.1.0 core:paste (input.hidden-input)
 22x -3:58.2.0 intentions:highlight (input.hidden-input)
     -3:57 core:move-to-top (input.hidden-input)
     -3:48.5.0 split-diff:enable (div.title)

Non-Core Packages

atom-beautify 0.30.5 
atom-ide-ui 0.5.1 
atom-node-debugger undefined 
autocomplete-html-entities 0.1.0 
busy-signal 1.4.3 
editorconfig 2.2.2 
git-plus 7.10.0 
ide-typescript 0.6.2 
intentions 1.1.5 
jsformat 0.9.3 
language-nunjucks 4.1.0 
linter 2.2.0 
linter-ui-default 1.6.10 
node-requirer 0.1.12 
project-plus 1.0.0 
split-diff 1.5.1 
xatom-debug 1.6.11 
xatom-debug-nodejs 0.9.3 

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

At C:\Users\Allan\AppData\Local\atom\app-1.22.0\resources\app\src\text-editor-component.js:2388

TypeError: Cannot match against 'undefined' or 'null'.
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.22.0/resources/app/src/text-editor-component.js:2388:65)
    at HTMLElement.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.7/resources/app/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

Non-Core Packages

atom-beautify 0.30.6 
atom-ternjs 0.18.3 
busy-signal 1.4.3 
docblockr 0.13.2 
duplicate-line-or-selection 0.9.0 
emmet 2.4.3 
emmet-jsx-css-modules 1.0.0 
expand-region 0.4.0 
file-icons 2.1.13 
git-control 0.9.0 
git-plus 7.10.0 
git-time-machine 1.5.9 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html-shorcuts-react 2.1.0 
hyperclick 0.1.5 
intentions 1.1.5 
js-hyperclick 1.12.2 
language-babel 2.78.0 
language-patch 1.2.0 
linter 2.2.0 
linter-eslint 8.4.0 
linter-ui-default 1.6.10 
local-history 4.3.1 
markdown-preview-plus 2.4.16 
merge-conflicts 1.4.5 
open-html-in-browser 0.2.1 
pigments 0.40.2 
platformio-ide-terminal 2.7.0 
project-plus 1.0.0 
re-re-re-react 3.0.0 
split-diff 1.5.1 
todo-show 2.1.0 
xatom-debug 1.6.11 
xatom-debug-chrome 0.7.4 
xatom-debug-nodejs 0.9.3 

Error, Node.js: unable to find page with socket

When I tried to use this debugger it gave me the title message in the title.
I configured node.js as
Run Type: current file
Binary Path: C:\Program Files\nodejs\node.exe
Port: I tried 5858, 8000, 80. Nothing worked.
launchArguments: mysqlTest.js

How do I resolve this error?

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.1 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

At /Users/gauravmagan/.atom/packages/xatom-debug/lib/editor/editor-manager.js:221

TypeError: Cannot read property 'getBoundingClientRect' of null
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:221:31)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLDivElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

Non-Core Packages

atom-html-preview 0.2.2 
busy-signal 1.4.3 
intentions 1.1.5 
linter 2.2.0 
linter-ui-default 1.6.8 
platformio-ide-terminal 2.6.0 
terminal-plus 0.14.5 
xatom-debug 1.6.11 
xatom-debug-nodejs 0.9.3 

Cannot set environment variables to Nodejs

When add an environment variable to Nodejs config window, the value will be changed to 'undefined' after added it therefore I cannot set environment variables to the debugger.
This issue cannot be reproduced on the old version 1.5.18.

Uncaught TypeError: Cannot read property 'id' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Mac OS X 10.11.5
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot read property 'id' of undefined

At /Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:646

TypeError: Cannot read property 'id' of undefined
    at extraRenderedScreenLines.forEach (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:646:45)
    at Map.forEach (native)
    at TextEditorComponent.renderLineTiles (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:643:43)
    at TextEditorComponent.renderContent (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:586:18)
    at TextEditorComponent.renderScrollContainer (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:561:18)
    at TextEditorComponent.render (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:506:20)
    at Object.updateSync (/Applications/Atom.app/Contents/Resources/app/node_modules/etch/lib/component-helpers.js:107:40)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:383:16)
    at TextEditorComponent.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:2401:18)
    at HTMLElement.screenPositionForPixelPosition (/app.asar/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

Non-Core Packages

atom-ethereum-interface 2.0.0 
auto-indent-file 0.2.0 
autoclose-html 0.23.0 
emmet-jsx-css-modules 1.0.0 
git-blame 1.1.1 
git-time-machine 1.5.6 
language-javascript-jsx 0.3.7 
pretty-json 1.5.1 
xatom-debug 1.6.11 
xatom-debug-nodejs 0.9.3 

Error

Hello! Being impressed by your plugin I have tried to install this. During the installation totally was fine, but when I turned it on I got the error

Google Chrome: Unable to find page with socket

Additionaly I give the img with my config.

atom plugin error
P.S. I hope you will help me to fix the bug or inform me what to do (how to config this extension?).

XDEBUG (php)

I wrote an implementation of this package for XDEBUG for my own use. It is written in CoffeeScript using promises ( no await/async). I didn't want to bother with transpilers and that kind of things and I also don't know typescript. I was thinking in publish it if none of your are willing to implement an official version for XDEBUG.I won't name it xatom-debug-php if you want to wait until someone that knows typescript writes a better version. I can pick any other name. I just want to contribute to making this package a standard in the community. In the future, they will find the time to improve it or rewrite it if they don't like it.

Run npm script

I am not sure how to run npm scripts here.
I have a script like

  "dev": "gulp dev",

Trying like this, but its not working
tesrtew21

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

At C:\Users\Allan\AppData\Local\atom\app-1.22.0\resources\app\src\text-editor-component.js:2388

TypeError: Cannot match against 'undefined' or 'null'.
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.22.0/resources/app/src/text-editor-component.js:2388:65)
    at HTMLElement.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.7/resources/app/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

Non-Core Packages

atom-beautify 0.30.6 
atom-ternjs 0.18.3 
busy-signal 1.4.3 
docblockr 0.13.2 
duplicate-line-or-selection 0.9.0 
emmet 2.4.3 
emmet-jsx-css-modules 1.0.0 
expand-region 0.4.0 
file-icons 2.1.13 
git-control 0.9.0 
git-plus 7.10.0 
git-time-machine 1.5.9 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html-shorcuts-react 2.1.0 
hyperclick 0.1.5 
intentions 1.1.5 
js-hyperclick 1.12.2 
language-babel 2.78.0 
language-patch 1.2.0 
linter 2.2.0 
linter-eslint 8.4.0 
linter-ui-default 1.6.10 
local-history 4.3.1 
markdown-preview-plus 2.4.16 
merge-conflicts 1.4.5 
open-html-in-browser 0.2.1 
pigments 0.40.2 
platformio-ide-terminal 2.7.0 
project-plus 1.0.0 
re-re-re-react 3.0.0 
split-diff 1.5.1 
todo-show 2.1.0 
xatom-debug 1.6.11 
xatom-debug-chrome 0.7.4 
xatom-debug-nodejs 0.9.3 

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

Something in Atom wanted to update. I gave the firewall permission and now: They're popping up in hundrets...

[Enter steps to reproduce:]

  1. automatic update of the xatom-debug package

Atom: 1.22.1 x64
Electron: 1.6.15
OS: Mac OS X 10.10.5
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

At /Users/achimbode/.atom/packages/xatom-debug/lib/editor/editor-manager.js:221

TypeError: Cannot read property 'getBoundingClientRect' of null
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:221:31)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLDivElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

  2x -6:52.1.0 editor:newline (input.hidden-input)
     -6:42.4.0 snippets:next-tab-stop (input.hidden-input)
     -6:42.4.0 autocomplete-plus:confirm (input.hidden-input)
     -6:42.4.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -6:40.1.0 snippets:next-tab-stop (input.hidden-input)
     -6:40.1.0 autocomplete-plus:confirm (input.hidden-input)
     -6:39.2.0 editor:newline (input.hidden-input)
     -6:33.6.0 snippets:next-tab-stop (input.hidden-input)
     -6:33.6.0 autocomplete-plus:confirm (input.hidden-input)
     -6:33.5.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -6:29.3.0 core:save (input.hidden-input)
     -2:10.8.0 find-and-replace:show (input.hidden-input)
     -2:08.7.0 core:confirm (input.hidden-input)
  3x -1:58 core:backspace (input.hidden-input)
     -1:46.9.0 core:save (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.6 
atom-html-preview 0.2.5 
atom-ide-ui 0.6.0 
atom-python-run 0.9.3 
autoclose-html 0.23.0 
autocomplete-python 1.10.3 
autocomplete-ruby 0.2.8 
busy-signal 1.4.3 
intentions 1.1.5 
jshint 1.8.6 
language-babel 2.79.0 
linter 2.2.0 
linter-eslint 8.4.0 
linter-jsonlint 1.3.0 
linter-ui-default 1.6.10 
node-debugger 1.10.1 
platformio-ide-terminal 2.7.0 
prettier-atom 0.41.0 
pretty-json 1.6.4 
python-indent 1.1.4 
python-tools 0.6.9 
react 0.17.0 
script 3.17.3 
todo-show 2.1.0 
xatom-debug 1.6.11 
xatom-debug-nodejs 0.9.3 

Remove all breakpoints

Thanks for the great debugger! The best I've seen by far.

Ability to remove all breakpoints would be great. Ideally from the breakpoint pane

Allow debugger to be toggled off by default

Currently, it seems that the debugger is already open when you open Atom. It's a bit annoying to have the debugger open by default as I have to close it every time I start Atom. I'd rather it be off by default (or at least allow configuration to have it off by default). Thanks!

Reliable way to close popup?

Thanks for making this tool, it's really clean!

I was wondering, how do you reliably close the popup window when you click on a variable when stopped on a break point? I can click on another variable to inspect it (which closes the window), but to close the popup window without opening another one, I'm not sure if I have to hit the esc button, or clicking on some white space or what. There doesn't seem to be a consistent, quick way to close the popup.

Remote debug with node process running in docker container

Hi,
I would like to debug a node process (express.js) running in a docker container.

My container is exposing 3000 and 5858 ports.
The node process is running using --debug flag : node --debug app.js

If I run the command 'node debug localhost:5858' on my host, it connects correctly to the node process running in the container.

But I configured the atom-bugs plugin using "remote connection" to localhost and 5858 port and it doesn't seem to work : breakpoints are not working as expected.

If I toggle Atom developer tools, and then click on the play icon from atom-bugs, this error is displayed each second :
launcher.ts:102 Uncaught (in promise) unable to find page with socket

Did I do anything wrong?

node version : 6.10
atom version : 1.15.0

Uncaught TypeError: Cannot read property 'style' of null

[Enter steps to reproduce:]

  1. Tried to expand the child object of an object printed in console.log

Atom: 1.17.0 x64
Electron: 1.3.15
OS: Mac OS X 10.12.3
Thrown From: xatom-debug package 1.6.7

Stack Trace

Uncaught TypeError: Cannot read property 'style' of null

At /Users/brian/.atom/packages/xatom-debug/lib/inspector/inspector-view.js:69

TypeError: Cannot read property 'style' of null
    at /packages/xatom-debug/lib/inspector/inspector-view.js:69:43)

Commands

  4x -2:23.9.0 editor:move-to-end-of-word (input.hidden-input)
  4x -2:22.7.0 core:backspace (input.hidden-input)
     -2:20.3.0 autocomplete-plus:cancel (input.hidden-input)
  2x -2:20 core:move-left (input.hidden-input)
  4x -2:19.5.0 editor:move-to-beginning-of-word (input.hidden-input)
     -2:18.8.0 editor:move-to-end-of-word (input.hidden-input)
     -2:18.2.0 editor:delete-to-beginning-of-word (input.hidden-input)
     -2:17.6.0 core:backspace (input.hidden-input)
  2x -2:17 editor:move-to-end-of-word (input.hidden-input)
  2x -2:16.5.0 core:move-left (input.hidden-input)
     -2:15.9.0 core:backspace (input.hidden-input)
     -2:13.7.0 core:move-right (input.hidden-input)
     -2:05.4.0 autocomplete-plus:cancel (input.hidden-input)
     -1:43.7.0 core:save (input.hidden-input)
     -1:23 autocomplete-plus:cancel (input.hidden-input)
     -1:05.7.0 core:save (input.hidden-input)

Non-Core Packages

autocomplete-modules 1.6.10 
editorconfig 2.2.2 
last-cursor-position 0.9.2 
node-debugger 1.10.1 
Sublime-Style-Column-Selection 1.7.4 
terminal-plus 0.14.5 
xatom-debug 1.6.7 
xatom-debug-nodejs 0.9.1 

Small UX improvements

Hi,

So here's the issue #18's feedback (old repository issue):

  • Inspecting variable words on mouse enter is working perfectly

  • Hiding / Showing atom bugs with crtl+shift+D works great, though it could also be nice to have this shortcut available through the menu Packages > Atom Bugs > Toggle

  • The current line highlight is not yet what I was expected (I may have not been crystal clear about it, sorry). The breakpoint line is highlighted on enter, yes, but it is not moving to the current line on each step over / into / out, as it does in Chrome (displaying the current debugged like is very useful)

Other considerations:

  • I would love to be able to move things around (I don't care if its the default display, though), a large console at the bottom of the screen, watch, call stack, scope and break points to the right, plus, the start / stop buttons within this panel, at the bottom of it (displaying it at the top of Atom moves the tabs down and I love tabs to be at the top of everything). Something like this:

bottom debugging

  • With this display, it would be great if the watch, call stack, scope and break points have little arrows to toggle one or several of them, like in Chrome

chrome

Errors I encountered:

  • console.log(1, 2, 3) is printed on 3 lines

  • I was forced to move to from node 4.x to 6.x to make things work, may you consider supporting node 4.x?

  • On starting, it's necessary to click on Resume a first time for the server to really start โ€” even if there ain't any breakpoint on server root. May you consider removing that need?

  • The remote debugging says Error: Parse Error

Like the last time, ๐Ÿพ, this tool you're creating is a missing must have for any JavaScript developer. Thanks so much.

Breakpoints issue

Hi, i'm trying to configure xatom-debug with Chrome on MacOs.
I'm using webpack with dev-tools: 'cheap-module-inline-source-map'.
From chrome developer tool i see the map file and also breakpoints works, but from atom they don't.

The debugger is attached, and xatom-debug console works well, but breakpoints don't work.
Can you help me, please?

Another Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

Hey There,

Saw that you had a couple of these open already and I figured I'd just throw my stacktrace up here.

I haven't had any issues with this at all before now, and it;s pretty clear that it's fighting with the markdown preview rendering over something or other.

Good Luck!

-Real

  1. Opened up a new atom project and started working on only markdown to initialize a repository. When I opened the preview pane the errors were being thrown pretty consistently.
  2. Closed preview panes and all other windows and I was still having them appear. Disaabled x-atom debug for the time being, but this is the only time I've run into this behavior.

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Mac OS X 10.12.6
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

At /Users/-------/.atom/packages/xatom-debug/lib/editor/editor-manager.js:221

TypeError: Cannot read property 'getBoundingClientRect' of null
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:221:31)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLDivElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

     -2:48.6.0 editor:newline (input.hidden-input)
     -2:48.2.0 markdown-writer:insert-new-line (input.hidden-input)
     -2:48.2.0 editor:newline (input.hidden-input)
 25x -2:37.2.0 core:backspace (input.hidden-input)
     -1:27.4.0 core:move-down (input.hidden-input)
     -1:25 core:move-left (input.hidden-input)
     -1:04.5.0 xatom-debug:stop (input.hidden-input)
     -0:49.5.0 command-palette:toggle (input.hidden-input)
  4x -0:46.4.0 core:backspace (input.hidden-input)
     -0:45.3.0 editor:consolidate-selections (input.hidden-input)
     -0:45.3.0 core:cancel (input.hidden-input)
     -0:44.7.0 intentions:highlight (input.hidden-input)
     -0:43.4.0 settings-view:open (input.hidden-input)
  2x -0:42.9.0 key-binding-resolver:toggle (div.panels-item)
  4x -0:40 settings-view:open (div.panels-item)
     -0:15.6.0 core:confirm (input.hidden-input)

Non-Core Packages

api-docs 0.0.6 
atom-easy-jsdoc 4.12.5 
atom-formatter-jsbeautify 1.1.2 
atom-prettify 0.1.3 
atom-ternjs 0.18.3 
browser-plus 0.0.98 
busy-signal 1.4.3 
devdocs 0.2.1 
es-support-editor 0.0.0 
es6-javascript 1.0.0 
insert-timestamp 0.2.4 
intentions 1.1.5 
language-vue 0.23.1 
linter 2.2.0 
linter-eslint 8.4.1 
]linter-ui-default 1.7.1 
markdown-writer 2.7.3 
nuclide-format-js 0.0.44 
platformio-ide-terminal 2.8.0 
pretty-json 2.0.0 
project-manager 3.3.5 
quick-query 0.12.3 
quick-query-sqlite 0.3.1 
rest-client 1.3.1 
save-workspace 0.4.0 
support 0.0.0 
teletype 0.9.0 
url-encode 0.5.0 
xatom-debug 1.6.11 
xatom-debug-chrome 0.7.4 
xatom-debug-nodejs 0.9.3 

Unable to add breakpoint: Uncaught TypeError: Invalid Point: (NaN, 0)

  1. open project in atom
  2. Attempt to set breakpoint on arbitrary line
  3. error is thrown

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: xatom-debug package 1.6.2

Stack Trace

Uncaught TypeError: Invalid Point: (NaN, 0)

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:34

TypeError: Invalid Point: (NaN, 0)
    at Function.module.exports.Point.assertValid (/app.asar/node_modules/text-buffer/lib/point.js:63:15)
    at TextBuffer.module.exports.TextBuffer.clipPosition (/app.asar/node_modules/text-buffer/lib/text-buffer.js:1033:13)
    at TextBuffer.module.exports.TextBuffer.clipRange (/app.asar/node_modules/text-buffer/lib/text-buffer.js:1021:20)
    at MarkerLayer.module.exports.MarkerLayer.markRange (/app.asar/node_modules/text-buffer/lib/marker-layer.js:215:46)
    at DisplayMarkerLayer.module.exports.DisplayMarkerLayer.markBufferRange (/app.asar/node_modules/text-buffer/lib/display-marker-layer.js:105:52)
    at TextEditor.module.exports.TextEditor.markBufferRange (/app.asar/src/text-editor.js:1781:38)
    at EditorManager.createBreakpointMarkerForEditor (/packages/xatom-debug/lib/editor/editor-manager.js:207:29)
    at /packages/xatom-debug/lib/editor/editor-manager.js:193:35
    at EditorManager.listenBreakpoints (/packages/xatom-debug/lib/editor/editor-manager.js:202:43)
    at /packages/xatom-debug/lib/editor/editor-manager.js:158:53)

Commands

     -2:56.4.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

advanced-open-file 0.16.6 
atom-beautify 0.29.23 
atom-dark-fusion-syntax 2.2.0 
atom-material-syntax 1.0.2 
atom-material-ui 1.3.9 
atom-mdtoc 0.8.3 
atom-ternjs 0.18.2 
atomatigit 1.5.5 
autocomplete-modules 1.6.9 
autocomplete-paths 1.0.5 
autoupdate-packages 1.3.1 
blame 0.10.3 
busy 0.7.0 
busy-signal 1.4.0 
docblockr 0.9.4 
easy-motion-redux 1.1.1 
environment 1.3.1 
ex-mode 0.14.0 
expand-region 0.2.7 
file-icons 2.1.3 
fixmyjs 1.4.1 
git-history 3.3.0 
git-plus 7.6.0 
golden-ratio 0.3.0 
highlight-line 0.12.0 
highlight-selected 0.13.1 
ink 0.6.5 
intentions 1.1.2 
javascript-snippets 1.2.1 
language-diff 0.7.0 
language-dustjs 0.3.0 
lines 0.13.1 
linter 2.1.4 
linter-clojure 1.1.3 
linter-eslint 8.1.6 
linter-jshint 3.0.3 
linter-markdown 4.0.0 
linter-ui-default 1.2.3 
markdown-scroll-sync 2.1.2 
markdown-writer 2.6.4 
maximize-panes 0.2.0 
merge-conflicts 1.4.4 
minimap 4.27.1 
move-panes 0.2.0 
nucleus-dark-ui 0.11.18 
Parinfer 1.17.0 
project-plus 0.9.0 
proto-repl 1.4.20 
proton-mode 0.15.0 
react 0.16.2 
react-snippets 0.7.2 
recent-files-fuzzy-finder 0.3.1 
relative-numbers 0.7.1 
release-notes 0.53.0 
swackets 0.26.0 
tab-switcher 1.5.4 
theme-switch 0.4.0 
vim-mode-plus 0.91.0 
vim-mode-plus-ex-mode 0.9.0 
xatom-debug 1.6.2 
xatom-debug-nodejs 0.9.1 
zentabs 0.8.8 

Uncaught TypeError: Cannot read property 'length' of undefined

This is every time I select something in the editor for a .ts file, the following stack trace is shown:

    at TextEditorComponent.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:2286:33)
    at HTMLElement.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/Users/me/.atom/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/Users/me/.atom/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/Users/me/.atom/packages/xatom-debug/lib/editor/editor-manager.js:159:57)```

Debug nodejs ES6?

Hi all,
I wanna debug nodejs es6 project and i used 'import'. Then i got error

Unexpected token import

I try config arguments

--exec babel-node --presets es2015,stage-2

But it still not working. Could you tell me how do i have to config?
Thanks!

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.18.0 x64
Electron: 1.3.15
OS: Mac OS X 10.12.6
Thrown From: xatom-debug package 1.6.10

Stack Trace

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

At /Users/danielcherubini/.atom/packages/xatom-debug/lib/editor/editor-manager.js:221

TypeError: Cannot read property 'getBoundingClientRect' of null
  at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:292:35)
  at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:329:39)
  at /packages/xatom-debug/lib/editor/editor-manager.js:219:47)

Commands

Non-Core Packages

angularjs 0.4.0 
atom-beautify 0.30.4 
atom-jade 0.3.0 
build 0.68.0 
builder-go 1.0.1 
busy 0.7.0 
docblockr 0.11.0 
docker 0.7.0 
editorconfig 2.2.2 
emmet 2.4.3 
flow-ide 1.6.0 
go-config 1.2.4 
go-debug 1.5.0 
go-get 2.1.1 
go-plus 5.5.5 
go-signature-statusbar 1.2.1 
godoc 1.1.1 
haskell-grammar 0.4.0 
highlight-selected 0.13.1 
hyperclick 0.1.2 
js-hyperclick 1.11.0 
language-babel 2.68.0 
language-docker 1.1.8 
language-elixir 0.19.0 
language-env 0.2.0 
language-graphql 0.9.0 
language-groovy 0.7.0 
language-ini 1.19.0 
language-leaf 0.1.1 
language-lua 0.9.11 
language-nginx 0.8.0 
language-ocaml 1.9.5 
language-pico8 1.0.0 
language-pug 0.0.21 
language-rust 0.4.11 
language-scala 1.1.8 
language-swift 0.5.0 
language-systemd 0.1.1 
language-thrift 1.0.2 
language-vue 0.23.0 
linter 2.2.0 
linter-eslint 8.2.1 
linter-javac 1.9.4 
linter-pug-lint 0.2.0 
MagicPython 1.0.11 
merge-conflicts 1.4.5 
mocha-test-runner 1.0.0 
node-debugger 1.10.1 
nuclide 0.241.0 
nuclide-format-js 0.0.36 
nuclide-test-runner-jest 0.3.0 
path-hyperclick 0.3.0 
set-syntax 0.3.2 
sort-lines 0.14.0 
tool-bar 1.1.0 
xatom-debug 1.6.10 
xatom-debug-nodejs 0.9.3 

Changes to TextEditor.onDidChange and TextBuffer.onDidChange coming in Atom 1.23

Hi! Thanks for maintaining the xatom-debug package!

In Atom v1.23, we will some changes that may affect your package.

The methods TextEditor.onDidChange and TextBuffer.onDidChange will now call their callbacks less frequently. Previously, these callbacks would get called once for each individual change to the buffer. So if you had 5 cursors and typed a character, they would get called 5 times. Now, they will only get called once, and the event that is passed to them will contain information about all 5 of the changes that have occurred.

The same properties that have always existed on the TextBuffer.onDidChange events (oldRange, newRange, oldText, and newText) will still be there, and they will now reflect the sum of all changes that have occurred. But now there will be an additional property called changes, which will contain an array of more fine-grained objects describing the individual changes. We encourage you to use this property instead of the old ones.

Effects on this package

It looks like this package calls the changed methods in the following places:

  • TextEditor.onDidChange

We found these calls using a regex search, so this list might be incomplete, and it might contain some false positives.

What to do about the change

It is likely that you do not need to do anything. The old event properties will continue to work.

However, you may be able to handle changes more accurately and efficiently by using the changes field of the events rather than the old properties. The changes field does not exist in Atom 1.22 unless you use the TextBuffer.onDidChangeText method. In Atom 1.23 and above though, .onDidChange and .onDidChangeText will become identical, having both the old properties and the new changes property.

Please let me know if you have any questions. I would be happy to help!

TextEditor.editorElement is deprecated.

TextEditor.prototype.editorElement has always been private, but now
it is gone. Reading the editorElement property still returns a
reference to the editor element but this field will be removed in a
later version of Atom, so we recommend using the element property instead.

TextEditor.editorElement (<embedded>:2383:20)
EditorManager.getEditorPositionFromEvent (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:294:55)
EditorManager.listenExpressionEvaluations (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:329:39)
HTMLElement.expressionHandler (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:220:43)

Uncaught TypeError: undefined is not a function

[Enter steps to reproduce:]

  1. Open a markdown file
  2. Toggle Markdown Preview
  3. Watch as errors pop up without stopping

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: undefined is not a function

At /Users/massimotorelli/.atom/packages/xatom-debug/lib/editor/editor-manager.js:223

TypeError: undefined is not a function
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:223:62)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLDivElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

     -1:52.8.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

atom-ide-ui 0.5.0 
atom-typescript 11.0.10 
blame 0.12.0 
busy-signal 1.4.3 
ide-typescript 0.1.6 
intentions 1.1.5 
js-refactor 0.7.5 
linter 2.2.0 
linter-ui-default 1.6.10 
material-ui 1.0.10 
refactor 0.11.5 
xatom-debug 1.6.11 
xatom-debug-chrome 0.7.4 
xatom-debug-nodejs 0.9.3 

TextEditor.editorElement is deprecated.

TextEditor.prototype.editorElement has always been private, but now
it is gone. Reading the editorElement property still returns a
reference to the editor element but this field will be removed in a
later version of Atom, so we recommend using the element property instead.

TextEditor.editorElement (<embedded>:2383:20)
EditorManager.getEditorPositionFromEvent (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:293:40)
EditorManager.listenExpressionEvaluations (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:329:39)
HTMLElement.expressionHandler (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:220:43)

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

At C:\Users\Allan\AppData\Local\atom\app-1.22.0\resources\app\src\text-editor-component.js:2388

TypeError: Cannot match against 'undefined' or 'null'.
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.22.0/resources/app/src/text-editor-component.js:2388:65)
    at HTMLElement.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.7/resources/app/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

Non-Core Packages

atom-beautify 0.30.6 
atom-ternjs 0.18.3 
busy-signal 1.4.3 
docblockr 0.13.2 
duplicate-line-or-selection 0.9.0 
emmet 2.4.3 
emmet-jsx-css-modules 1.0.0 
expand-region 0.4.0 
file-icons 2.1.13 
git-control 0.9.0 
git-plus 7.10.0 
git-time-machine 1.5.9 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html-shorcuts-react 2.1.0 
hyperclick 0.1.5 
intentions 1.1.5 
js-hyperclick 1.12.2 
language-babel 2.78.0 
language-patch 1.2.0 
linter 2.2.0 
linter-eslint 8.4.0 
linter-ui-default 1.6.10 
local-history 4.3.1 
markdown-preview-plus 2.4.16 
merge-conflicts 1.4.5 
open-html-in-browser 0.2.1 
pigments 0.40.2 
platformio-ide-terminal 2.7.0 
project-plus 1.0.0 
re-re-re-react 3.0.0 
split-diff 1.5.1 
todo-show 2.1.0 
xatom-debug 1.6.11 
xatom-debug-chrome 0.7.4 
xatom-debug-nodejs 0.9.3 

Resume keymap does not work

Thanks for user friendly decent debugger.

Tried with different (unmapped) keys. Resume does not work with keystroke

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

At C:\Users\Allan\AppData\Local\atom\app-1.22.0\resources\app\src\text-editor-component.js:2388

TypeError: Cannot match against 'undefined' or 'null'.
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.22.0/resources/app/src/text-editor-component.js:2388:65)
    at HTMLElement.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.7/resources/app/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

Non-Core Packages

atom-beautify 0.30.6 
atom-ternjs 0.18.3 
busy-signal 1.4.3 
docblockr 0.13.2 
duplicate-line-or-selection 0.9.0 
emmet 2.4.3 
emmet-jsx-css-modules 1.0.0 
expand-region 0.4.0 
file-icons 2.1.13 
git-control 0.9.0 
git-plus 7.10.0 
git-time-machine 1.5.9 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html-shorcuts-react 2.1.0 
hyperclick 0.1.5 
intentions 1.1.5 
js-hyperclick 1.12.2 
language-babel 2.78.0 
language-patch 1.2.0 
linter 2.2.0 
linter-eslint 8.4.0 
linter-ui-default 1.6.10 
local-history 4.3.1 
markdown-preview-plus 2.4.16 
merge-conflicts 1.4.5 
open-html-in-browser 0.2.1 
pigments 0.40.2 
platformio-ide-terminal 2.7.0 
project-plus 1.0.0 
re-re-re-react 3.0.0 
split-diff 1.5.1 
todo-show 2.1.0 
xatom-debug 1.6.11 
xatom-debug-chrome 0.7.4 
xatom-debug-nodejs 0.9.3 

remember expanded state in (variable- etc.) trees

Hi,

when debugging I constantly need to expand the variables tree on each step.
I understand, that it has to be redrawn.

Best solution would be to remember expanded nodes by path.
Node paths that don't exist any more should still be remembered, so they are opened again, when coming into scope.
From non-existing paths the part that is existing could be opened (but I am not sure if this is what I want).

A remembered path should only be thrown away when it's explicitly closed by me.
Because this strategy will cumulate many paths over time, there should probably be an upper limit (configurable). The oldest path should be thrown away first.

I would also like to have these paths editable (text file, reloadable, or watched automatically).
There could be a global file and a file for the project and one in ~/.atom where the manually opened paths are stored.
I would certainly have "this" and "locals" in the global file.

The same paths could be expanded in the console, too.

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

[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 

TextEditor.editorElement is deprecated.

TextEditor.prototype.editorElement has always been private, but now
it is gone. Reading the editorElement property still returns a
reference to the editor element but this field will be removed in a
later version of Atom, so we recommend using the element property instead.

TextEditor.editorElement (<embedded>:2383:20)
EditorManager.getEditorPositionFromEvent (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:295:57)
EditorManager.listenExpressionEvaluations (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:329:39)
HTMLElement.expressionHandler (C:\Users\Anatolij\.atom\packages\xatom-debug\lib\editor\editor-manager.js:220:43)

Failed to activate the atom-bugs package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: atom-bugs package 1.2.6

Stack Trace

Failed to activate the atom-bugs package

At Cannot find module 'atom-package-deps'

Error: Cannot find module 'atom-package-deps'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at Object.activate (/packages/atom-bugs/lib/main.js:16:9)
    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/src/package-manager.js:531:29
    at Config.module.exports.Config.transactAsync (/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/app.asar/src/package-manager.js:526:19)
    at PackageManager.module.exports.PackageManager.activate (/app.asar/src/package-manager.js:508:46)
    at /app.asar/src/atom-environment.js:812:28

Commands

  2x -0:43.6.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

atom-bootstrap3 1.2.12 
atom-bugs 1.2.6 
atom-html-preview 0.1.22 
atom-package-deps 4.5.0 
autoclose-html 0.24.0 
autocomplete-paths 1.0.5 
jquery-snippets 11.0.0 
node_modules undefined 

Uncaught TypeError: editor.element.getScrollTop is not a function

[Enter steps to reproduce:]

  1. Have a MD file (I edited the README.md from node-schedule)
  2. Open Plugin "Markdown Preview" to show a rendered version of the md file

Atom: 1.18.0 x64
Electron: 1.3.15
OS: Mac OS X 10.12.6
Thrown From: xatom-debug package 1.6.10

Stack Trace

Uncaught TypeError: editor.element.getScrollTop is not a function

At /Users/ingof/.atom/packages/xatom-debug/lib/editor/editor-manager.js:223

TypeError: editor.element.getScrollTop is not a function
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:223:62)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLDivElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

 29x -4:05.1.0 core:backspace (input.hidden-input)
     -3:37.5.0 core:move-right (input.hidden-input)
     -3:36.8.0 editor:newline (input.hidden-input)
     -3:28 core:backspace (input.hidden-input)
     -3:16.6.0 core:move-up (input.hidden-input)
  2x -3:16.3.0 editor:move-to-first-character-of-line (input.hidden-input)
  3x -3:15.7.0 core:select-down (input.hidden-input)
  2x -3:13.7.0 core:move-up (input.hidden-input)
  2x -3:13.2.0 core:move-down (input.hidden-input)
  3x -2:53.9.0 core:backspace (input.hidden-input)
     -0:52.5.0 core:move-left (input.hidden-input)
     -0:35.7.0 core:save (input.hidden-input)
     -0:27.2.0 markdown-preview:toggle (input.hidden-input)

Non-Core Packages

api-workbench 0.8.46 
autocomplete-clang 0.11.3 
build 0.68.0 
busy 0.7.0 
busy-signal 1.4.3 
copy-with-syntax 0.0.3 
file-icons 2.1.9 
git-control 0.9.0 
git-plus 7.9.3 
git-time-machine 1.5.9 
gitlab 0.1.3-7 
intentions 1.1.2 
language-arduino 0.4.3 
language-ini 1.19.0 
language-ino 0.2.0 
linter 2.2.0 
linter-gcc 0.7.1 
linter-jshint 3.1.5 
linter-ui-default 1.6.3 
minimap 4.29.2 
node-debugger 1.10.1 
platformio-ide 2.0.0-beta.7 
platformio-ide-debugger 1.2.3 
platformio-ide-terminal 2.5.3 
pretty-json 1.6.3 
pull-request 0.2.1 
remote-sync 4.1.5 
symbols-tree-view 0.14.0 
tabs-to-spaces 1.0.3 
tool-bar 1.1.0 
travis-ci-status 1.3.1 
xatom-debug 1.6.10 
xatom-debug-nodejs 0.9.3 

@accent-color is undefined - Failed to load the xatom-debug package

[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 load the xatom-debug package

At variable @accent-color is undefined in /home/harald/.atom/packages/xatom-debug/styles/scheme.less:55:35

LessError: variable @accent-color is undefined
  at /packages/xatom-debug/styles/scheme.less:55:35

Commands

     -2:28.6.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-atom-light-ui.theme-clean-simple-light-syntax)
     -1:59.7.0 core:confirm (input.hidden-input)
     -0:22.2.0 editor:move-to-first-character-of-line (input.hidden-input)
     -0:21.1.0 editor:move-to-end-of-screen-line (input.hidden-input)
  5x -0:20.8.0 core:backspace (input.hidden-input)
     -0:19.5.0 core:confirm (input.hidden-input)

Non-Core Packages

clean-simple-light-syntax 0.1.0 (dev)
pattern-navigator 0.0.1 (dev)
process-palette 0.12.0 (dev)
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 (dev)
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 (dev)
persistent-undo 1.2.0 
pigments 0.39.1 
pretty-dir 0.0.17 
preview 0.17.0 
process-palette 0.12.0 (dev)
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 
xatom-debug-nodejs 0.7.20 
xuh-ui 0.2.1 

Uncaught TypeError: Cannot set property 'runType' of undefined

[Enter steps to reproduce:]

  1. Try changing the Run Type:

image

Atom: 1.20.1 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot set property 'runType' of undefined

At /Users/dn/.atom/packages/xatom-debug/lib/scheme/scheme-view.js:176

TypeError: Cannot set property 'runType' of undefined
    at Object.change (/packages/xatom-debug/lib/scheme/scheme-view.js:176:43)
    at /packages/xatom-debug/lib/element/element.js:41:62)

Commands

  9x -7:54.3.0 core:move-left (input.hidden-input)
  9x -7:35 core:backspace (input.hidden-input)
     -2:44.6.0 settings-view:open (atom-pane.pane.active)
     -1:09.7.0 find-and-replace:show (div.tool-panel.tree-view)
     -1:08.3.0 core:backspace (input.hidden-input)
 11x -1:07.2.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.5 
atom-typescript 11.0.9 
busy-signal 1.4.3 
docblockr 0.11.0 
intentions 1.1.5 
linter 2.2.0 
linter-ui-default 1.6.10 
underline-trailing-whitespace 1.4.2 
xatom-debug 1.6.11 
xatom-debug-nodejs 0.9.3 

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: xatom-debug package 1.6.11

Stack Trace

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

At C:\Users\Allan\AppData\Local\atom\app-1.22.0\resources\app\src\text-editor-component.js:2388

TypeError: Cannot match against 'undefined' or 'null'.
    at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.22.0/resources/app/src/text-editor-component.js:2388:65)
    at HTMLElement.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.19.7/resources/app/src/text-editor-element.js:247:32)
    at EditorManager.getEditorPositionFromEvent (/packages/xatom-debug/lib/editor/editor-manager.js:222:45)
    at EditorManager.listenExpressionEvaluations (/packages/xatom-debug/lib/editor/editor-manager.js:252:35)
    at HTMLElement.expressionHandler (/packages/xatom-debug/lib/editor/editor-manager.js:159:57)

Commands

Non-Core Packages

atom-beautify 0.30.6 
atom-ternjs 0.18.3 
busy-signal 1.4.3 
docblockr 0.13.2 
duplicate-line-or-selection 0.9.0 
emmet 2.4.3 
emmet-jsx-css-modules 1.0.0 
expand-region 0.4.0 
file-icons 2.1.13 
git-control 0.9.0 
git-plus 7.10.0 
git-time-machine 1.5.9 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html-shorcuts-react 2.1.0 
hyperclick 0.1.5 
intentions 1.1.5 
js-hyperclick 1.12.2 
language-babel 2.78.0 
language-patch 1.2.0 
linter 2.2.0 
linter-eslint 8.4.0 
linter-ui-default 1.6.10 
local-history 4.3.1 
markdown-preview-plus 2.4.16 
merge-conflicts 1.4.5 
open-html-in-browser 0.2.1 
pigments 0.40.2 
platformio-ide-terminal 2.7.0 
project-plus 1.0.0 
re-re-re-react 3.0.0 
split-diff 1.5.1 
todo-show 2.1.0 
xatom-debug 1.6.11 
xatom-debug-chrome 0.7.4 
xatom-debug-nodejs 0.9.3 

Debugging not working

Hello.

I have installed and configured to debug my project on node.js, the configuration is:

Binary Path: "C:\Program Files\nodejs\node.exe"
Port: 8000
Source Script: C:\Users\myUser\Documents\Project\server\bin\project
Environment Variables: NODE_ENV=development

The problem is that the server runs correctly, when the project is running correctly the breakpoints are not working, adding a new breakpoint and tested sending a request to the server and the breakpoint is not fired for some reason.

The xatom-debug shows a status "Node.js: Debugger Resumed"

On the node console the output is:

Debugger attached.
Debugger listening on port 5865.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
    chrome-devtools://devtools/remote/serve_file/@60cd6e859b9f557d2312f5bf532f6aec5f284980/inspector.html?experiments=true&v8only=true&ws=localhost:5865/fc0912a5-ffca-43d4-a90b-d12e0fba2390
Debugger attached.

Also tried to debug the project using the chrome inspector and the same problem happened.

I would like to know if i am missing something on my setup or if there is another way to debug a project (node + express + restful api), i have been using webstorm node debugger for the same project with the same setup and it works on webstorm.

Windows?

Hi,

Congratulations on creating what seems to be a good JS debugging tool based on what I'm seeing so far. I downloaded it and tried it in Atom in Windows. I open my node app.js file, clicked the play icon, and I see the Node.js: Running process tab loading forever:

image

When I click 'Node.js' to see the Node settings, I notice the Binary path is set to a folder that's not on Windows /usr/.... I changed it to C:\Program Files\nodejs (which has node.exe) but it still failed.

I know you don't have documentation yet but can you at least tell me how do I start on Windows? Is this a bug or am I missing something?

And I am very thankful for what you have made. I hope it advances! Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.