Posts tagged debugging

Viy: Simple End-to-End Process Monitoring for Linux

Viy is a simple process monitoring tool for Linux that gives you a full historical view of your process’s resource usage — not just the final peak, but a complete timeline across the entire run. Named after Вій, a creature from Ukrainian folklore known for its powerful gaze that sees through everything, this tool helps you see through your program’s resource usage over its lifetime.

Read more ...


Pdb Driven Development

The most important command of pdb module that you should know is set_trace method, it enters the debugger at the calling stack frame at a given point in a program, and so far it’s the only piece of code that you should not be ashamed to copy-paste:

When you are in debugger there is a set of command that will help you investigate the scope:

Read more ...