디버깅) 파이썬 코드 실행 시각화 또는 추적을 하는 3가지 도구

2021. 5. 8. 17:41꿀팁 분석 환경 설정/파이썬 개발 팁

파이썬 실행 코드를 실행할 때 표현해주는 3가지 도구들이 정리된 것이 있어서 공유한다.

  • Loguru — print better exceptions
  • snoop — print the lines of code being executed in a function
  • heartrate — visualize the execution of a Python program in real-time

필자는 여기서 가장 인상 깊은 것은 Logoru 부분이 로깅할 때 유용할 것 같아서 찾아보게 되었는데, 나머지도 좋은 것 같아서 추후에 정리하려고 한다. 


 

Loguru — Print Better Exceptions

 

 

snoop — Print the Lines of Code being Executed in a Function

 

 

heartrate — Visualize the Execution of a Python Program in Real-Time

 

 

 

towardsdatascience.com/3-tools-to-track-and-visualize-the-execution-of-your-python-code-666a153e435e

 

3 Tools to Track and Visualize the Execution of your Python Code

You might also want to visualize which lines of code are being executed and how many times they are executed in real-time: Loguru is a library that aims to make logging in Python enjoyable. Loguru…

towardsdatascience.com

 

728x90