atom-community / atom-community/ide-python
Uncaught TypeError: Cannot read property 'current' of undefined
- 主要言語
- JavaScript
- スター
- 238
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I get this error as soon as I do anything related to the debugger
To avoid confusions about the 2 different locations between my C: drive and E: drive. It is a symlink. So they are both in the same location basically
```TypeError: Cannot read property 'current' of undefined
at Pj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:250:24)
at Tj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:250:104)
at Lj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:243:163)
at Jg (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:237:175)
at lk (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:285:27)
at E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:289:301
at Xj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:244:244)
at tk (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:289:287)
at Object.exports.render (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:296:69)
at HTMLElement.connectedCallback (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\node_modules\@atom-ide-community\nuclide-commons-ui\ReactMountRootElement.js:64:23)
at HTMLElement.activeItemChanged (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app.asar\src\pane-element.js:152:22)
at Function.simpleDispatch (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1190181)
at Emitter.emit (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1191622)
at Pane.setActiveItem (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:456849)
at Pane.activateItem (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:459097)
at DebuggerLayoutManager._appendItemToDock (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\ui\DebuggerLayoutManager.js:323:20)
at DebuggerLayoutManager._addPaneContainerToWorkspace (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\ui\DebuggerLayoutManager.js:648:10)
at DebuggerLayoutManager.showDebuggerViews (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\ui\DebuggerLayoutManager.js:593:44)
at HTMLElement.debugger:show (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\main.js:412:24)
at CommandRegistry.handleCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:350382)
at CommandRegistry.dispatch (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:348857)
at HTMLElement. (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\main.js:427:21)
at CommandRegistry.handleCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:350382)
at Object.didConfirmSelection (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:684525)
at SelectListView.confirmSelection (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:856521)
at HTMLDivElement.core:confirm (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:851400)
at CommandRegistry.handleCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:350382)
at KeymapManager.dispatchCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1230982)
at KeymapManager.handleKeyboardEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1227116)
at WindowEventHandler.handleDocumentKeyEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:284879)```
コントリビューションガイド
調査の方向性
debugger:show コマンドで失敗を再現し、その後 dist/ui/DebuggerLayoutManager.js の DebuggerLayoutManager.showDebuggerViews から ReactMountRootElement.js までスタックを追跡します。デバッガービューのアクティベーションパスを確認し、デバッガー関連のビューを開いても TypeError が発生しなくなったことを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100