Skip to content

Unable to use Python debugger #88

@yuezuegu

Description

@yuezuegu

When I call the run_standard_evaluation function in my Python script, it outputs the following warning message and I am no longer able to use the Python debugger in my code due to sys.settrace() calls in the autoattack/checks.py file.

PYDEV DEBUGGER WARNING:
sys.settrace() should not be used when the debugger is being used.
This may cause the debugger to stop working correctly.
If this is needed, please check:
http://pydev.blogspot.com/2007/06/why-cant-pydev-debugger-work-with.html
to see how to restore the debug tracing back correctly.
Call Location:
File "/home/yuezuegu/.conda/envs/yuezuegu/lib/python3.8/site-packages/autoattack/checks.py", line 100, in check_dynamic
sys.settrace(tracefunc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions