Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vincent Pelletier
neoppod
Commits
0243a547
Commit
0243a547
authored
Jan 13, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update debugger invocation with recent IPython
parent
b3b5175f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
neo/lib/debug.py
neo/lib/debug.py
+5
-2
No files found.
neo/lib/debug.py
View file @
0243a547
...
...
@@ -59,8 +59,11 @@ def debugHandler(sig, frame):
def
getPdb
():
try
:
# try ipython if available
import
IPython
IPython
.
Shell
.
IPShell
(
argv
=
[])
return
IPython
.
Debugger
.
Tracer
().
debugger
try
:
shell
=
get_ipython
()
except
NameError
:
shell
=
IPython
.
frontend
.
terminal
.
embed
.
InteractiveShellEmbed
()
return
IPython
.
core
.
debugger
.
Pdb
(
shell
.
colors
)
except
ImportError
:
import
pdb
return
pdb
.
Pdb
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment