Skip to content

emacs + realgud + trepan -> slow excecution during debug #15

@biocyberman

Description

@biocyberman

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions