Is there a way to turn off cursor jumping to the line that caused an error?

I’m using Python and when it comes to debugging, every time I run the tests and an error occurs, the editor sets the cursor position to the line that caused the error. It’s very annoying because the code usually gets quite big and I have to spend some seconds in search of the the place I was looking at before.

Thanks!

1 Like

I’ve been writing in Haskell, and the IDE doesn’t even correctly deduce which line an error was reported on. It appears to just hijack me off to some random location in my code! I’ve found that using an external editor is somewhat helpful, but that option has some flakiness of its own. It might be worth a try.

I’ve been writing in Haskell, and the IDE doesn’t even correctly deduce which line an error was reported on. It appears to just hijack me off to some random location in my code!

Hello, could you provide me with a code where this behaviour occurs? My Haskell knowledge is very limited and I’ve only been able to cause errors that are correctly reported.