Re: Python: How to use the 'trace' module programmatically?

2023-02-16 Thread Peter Slížik
Gerard - I did not use the filtering options. Thank you for bringing them to my attention. Barry - thank you for the insight. Now the tracing works as expected. I'm not sure why it didn't work before... Maybe the program redirected stdout? Thank you guys, Peter On Thu, Feb 16, 2023 at 9:56 AM

Re: Python: How to use the 'trace' module programmatically?

2023-02-16 Thread Barry
> On 15 Feb 2023, at 17:23, Peter Slížik wrote: > > Hello, > > I'm trying to analyze complex Python code. For some specific reasons, I > decided to use tracing instead of a debugger. > > The first thing I tried was: > > python -m trace -t /path/to/file.py > > The output of this command

Re: Python: How to use the 'trace' module programmatically?

2023-02-15 Thread Weatherby,Gerard
n: How to use the 'trace' module programmatically? *** Attention: This is an external email. Use caution responding, opening attachments or clicking on links. *** Hello, I'm trying to analyze complex Python code. For some specific reasons, I decided to use tracing instead of a debugger. The first

Python: How to use the 'trace' module programmatically?

2023-02-15 Thread Peter Slížik
Hello, I'm trying to analyze complex Python code. For some specific reasons, I decided to use tracing instead of a debugger. The first thing I tried was: python -m trace -t /path/to/file.py The output of this command turned out to be completely useless. The reason is that there was a thread