views:

77

answers:

2

When I run some python code in NetBeans, which raises an error, the output in NetBeans just gives an error message and no further information, such as line number. Is there any way to fix that?

A: 

added solution is debugging if don't have any compiling error

SjB
+1  A: 

If you can, I would run your script outside of NetBeans either with the built-in editor (IDLE) or just run it from the command line. That should give you a traceback with the error and lineno

NetBeans has issues with debugging, as other posts suggest.

jcoon