If you run the script in debug mode (Ctrl+F5, then Ctrl+F12 to actually run it) without setting any breakpoint, it will enter post-mortem on exception.
Le lundi 4 novembre 2013 23:17:54 UTC+1, Hubert C a écrit : > > I've been trying to figure out how to modify the spyder code to enter > post-mortem automatically on a traceback, similar to pyscripter. Where in > the code could that go? > > sitecustomize.py has: > > @monkeypatch_method(pdb.Pdb, 'Pdb') > > def interaction(self, frame, traceback): > > self.setup(frame, traceback) > > self.notify_spyder(frame) #-----Spyder-specific------------------------- > > self.print_stack_entry(self.stack[self.curindex]) > > self.cmdloop() > > self.forget() > > > However, it doesn't seem to get called when an exception occurs... > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/groups/opt_out.
