Skip to content

fadhlanzaky/cli-debugger-using-sys.settrace-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cli-debugger-using-sys.settrace-python

A simple CLI debugger utilizing sys.settrace()

Start

  • place the function you want to debug in functions.py
  • run the debugger python main.py
  • under function name question, type the name of the function
  • next, add parameters (optional). Make sure the function has default params if you decide not to add
  • next, add breakpoints (optional). The format is {function name} - {line number}

Command

    Help
    c      : Continue
    h help : Print this help message
    n      : Step In
    o      : Step Over
    q      : Stop Execution
    v      : Display Local Variables
    x      : Evaluate Expressions

About

A simple CLI debugger utilizing sys.settrace()

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages