On 6/30/2018 12:46 PM, Sharan Basappa wrote:
I am using enthought for python. Trace module seems to be very useful for my 
work but somehow I am unable to make it work.

When I use the following option, I get the following error:
%run

What is 'run' and what does it do?  Does not exist on Windows.
And why use it instead of 'python'?  What OS? What Python version?

-m trace --trace "D:/Projects/Initiatives/machine learning/programs/debug_1.py"
UsageError: option --trace not recognized ( allowed: "nidtN:b:pD:l:rs:T:em:G" )

This does not look error message from current trace module.

f:\dev\3x>python -m trace -x
Running Debug|Win32 interpreter...
usage: trace.py [-h] [--version] [-c] [-t] [-l] [-T] [-r | -R] [-f FILE]
[-C COVERDIR] [-m] [-s] [-g] [--ignore-module IGNORE_MODULE]
                [--ignore-dir IGNORE_DIR]
                [filename] ...
trace.py: error: unrecognized arguments: -x

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to