Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

Different runtime behaviour comparing setting breakpoint, and not setting breakpoint (yes really)

$
0
0

This is a really strange problem.I have a python program.When I step through a specific called function, in debug, it works.However when I let the ide just run it without stepping (or breakpointing) into it, it raises an exception.

The stacktrace of the exception shows the expected source code.

It's almost like in the step through scenario it calls the correct code, and otherwise it doesn't.

Slightly at my wits end.Has anyone seen this type of behaviour before?ThanksMartin

I've tried deleting the pyc file (the function is in an imported module).The function started out as an asyncio.async static method. I've "simplified" it to a non-async class instance method.


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>