-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I've been using pyCharm and like its debug features. However, they have quite confusing pricing policy, and more importantly I am using emacs more and more. So I want to get going with emacs-based python IDE. After searching here and there, I got the impression that trepan is the more feature-packed python debugger. So I want to give it a try. This lengthy paragraph is just to say I don't have much experience with trepan or working with python in emacs.
I use emacs remotely via SSH, and want to debug the python script on the remote server. However, compared to pdb
, trepan is much slower after I do soft or hard restart. I had to kill python shell window because I could not wait.
I invoked trepan debugger like this: M-x realgud:trepan2
. And then in (trepan2)
buffer:
# because I know which line to debug before hand.
b 204
b 230
# modify some lines on the source code
# then hard restart
restart
# code execution is very slow from here, even for lines that do importing.
So how do I imrpove this?