Skip to content

ea-rus/py-explore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

py-explore

Pyhon debuging tool

install

pip install git+https://github.com/ea-rus/py-explore

usage:

import  explore 

explore.stop() # <-- add in place to stop programm for debug

OR

explore.handle_error(function, [args, [kvargs]]) # <-- stop and debug on exception in curren executed function

OR

try:
   YOURE
   CODE
except:
   explore.from_traceback() # <-- stop and debug on exception

Then you may inspect code by regular python commands or use special commands below:

  • info: Print this help
  • down: Down one level in runtime stack
  • exit: Break programm and exit
  • go: Resume execute program
  • stack: Show current runtime stack
  • goend: Resume execute and cancel current breakpoint
  • gowhere [condition]: If stop-point in cicle, stop when [condition] is true
  • up: Up one level in runtime stack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages