0

Yesterday I installed ST3 and installed some plugins, but I noticed that if Python has a syntax error then it shows an error. But when a statement has a non-syntax error, then it shows nothing. Like this code doesn't throw any traceback.

Screenshot
(Click image to enlarge)

But when I run the same code from the terminal then I do get a traceback:

Screenshot

How can I show the traceback in my Sublime Text Editor? I am pretty sure that the problem is not occurring because of a plugin.

1 Answer 1

0

Sublime Text cannot handle input through it's build system. Therefore, your input just blocks and the code below it never executes, so you never hit the error that would cause a traceback. The easiest workaround is to execute your code via a plugin like SublimeREPL instead of the build-system.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .