atom-community / atom-community/ide-python
Uncaught TypeError: Cannot read property 'current' of undefined
- Langage dominant
- JavaScript
- Étoiles
- 238
- Forks
- 40
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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)```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduisez l’échec avec la commande debugger:show, puis suivez la pile depuis DebuggerLayoutManager.showDebuggerViews dans dist/ui/DebuggerLayoutManager.js jusqu’à ReactMountRootElement.js. Vérifiez le chemin d’activation de la vue du débogueur et assurez-vous que l’ouverture de vues liées au débogueur ne lève plus le TypeError.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, react
- Domaine
- devtools
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100