We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f3c4d commit 3bf674eCopy full SHA for 3bf674e
lib/python-debugger-view.coffee
@@ -15,9 +15,9 @@ class PythonDebuggerView extends View
15
backendDebuggerName: "atom_pdb.py"
16
17
getCurrentFilePath: ->
18
- editor = atom.workspace.getActivePaneItem()
19
- file = editor?.buffer.file
20
- return file?.path
+ return "" unless editor = atom.workspace.getActivePaneItem()
+ return "" unless buffer = editor.buffer
+ return buffer.file?.path
21
22
getDebuggerPath: ->
23
pkgs = atom.packages.getPackageDirPaths()[0]
0 commit comments