This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ishanSrt
Recipients ishanSrt
Date 2018-03-10.21:41:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520718085.04.0.467229070634.issue33044@psf.upfronthosting.co.za>
In-reply-to
Content
I need to use `pdb.set_trace()` in the base class. It has a method:

```
def run(self, *args, **kwargs):
    raise NotImplementedError
```
Since this base class is derived by many subclasses I don't know before hand which class' `run()` method I need to get inside. Also there is some pre processing of the arguments given to the `run()` method. So when `pdb` reaches the line,

```
q=self.run(arguments)
```

and I hit `s` it acts as if I have given the command `next`.

How can I get inside the derived class' `run()` method with `pdb` and debug the code over there?
History
Date User Action Args
2018-03-10 21:41:25ishanSrtsetrecipients: + ishanSrt
2018-03-10 21:41:25ishanSrtsetmessageid: <1520718085.04.0.467229070634.issue33044@psf.upfronthosting.co.za>
2018-03-10 21:41:25ishanSrtlinkissue33044 messages
2018-03-10 21:41:24ishanSrtcreate