willyelm / xatom-debug

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

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

Closed agstew closed 6 years ago

agstew commented 6 years ago

[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