willyelm / xatom-debug

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

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

Open RealMurder opened 6 years ago

RealMurder commented 6 years ago

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