Try to open the source file if an exceptions in a cython pyd occurred

Fri, 06 Jul 2018 20:31:07 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Fri, 06 Jul 2018 20:31:07 +0200
changeset 6405
2763348bf9a6
parent 6404
1a0afc7f2837
child 6410
98a5d0cd72f5

Try to open the source file if an exceptions in a cython pyd occurred

DebugClients/Python/DebugBase.py file | annotate | diff | comparison | revisions
changelog file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugBase.py	Fri Jul 06 20:30:36 2018 +0200
+++ b/DebugClients/Python/DebugBase.py	Fri Jul 06 20:31:07 2018 +0200
@@ -587,7 +587,7 @@
                 return frame.f_code.co_filename
             
             absFilename = os.path.abspath(fn)
-            if absFilename.endswith(('.pyc', '.pyo')):
+            if absFilename.endswith(('.pyc', '.pyo', '.pyd')):
                 fixedName = absFilename[:-1]
                 if not os.path.exists(fixedName):
                     fixedName = absFilename
--- a/changelog	Fri Jul 06 20:30:36 2018 +0200
+++ b/changelog	Fri Jul 06 20:31:07 2018 +0200
@@ -6,6 +6,7 @@
   -- upgraded pyflakes to version 2.0.0
 - Debugger
   -- Support of breakpoint() builtin of Python 3.7
+  -- Try to open the source file if an exceptions in a cython pyd occurred
 - Git Interface
   -- added capability to change the URL and/or user credentials for a
      remote repository

eric ide

mercurial