Raul Muñoz
Raul Muñoz

Reputation: 35

pdb set_trace() is not working properly in spyder 3

When I write (at any script):

import pdb; pdb.set_trace()

  1. Sometimes when I press n+enter the program send me to "interactiveshell"

  2. Other times, if pressing n+enter I can move forward, I can't no longer see what's going on with the variables that are being generated in "variables explorer" as I used to do a few days ago (even stoping completelly the debugging process)

This wasn't happen few days ago (the debugger worked properly with the same way of using), however I haven't been able to use the debugger as usual again.

Thank in advance. Raúl

Upvotes: 2

Views: 961

Answers (1)

Carlos Cordoba
Carlos Cordoba

Reputation: 34156

(Spyder developer here) pdb.set_trace() was not supported when Spyder 3.0 was released in September 2016. We didn't supported officially before that, and the fact that it was working was a matter of luck.

However, that was solved in Spyder 3.2.0, released in July 2017.

Upvotes: 1

Related Questions