On Wed, May 9, 2018 at 1:30 AM, Brad M <thebigwu...@gmail.com> wrote:
>
> If you want to know where your program went when something went wrong or
> when it triggers a if condition, how do you do it?

Look into use the logging module [1] and debuggers [2], either
dedicated like Winpdb or in an IDE such as PyCharm.

[1]: https://docs.python.org/3/howto/logging.html#logging-basic-tutorial
[2]: https://wiki.python.org/moin/PythonDebuggingTools

For debugging a DLL, learn to use a native debugger, such as
Microsoft's WinDbg, cdb, or the Visual Studio debugger.
OutputDebugString [3] writes a string to an attached debugger.

[3]: https://msdn.microsoft.com/en-us/library/aa363362
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to