A note to myself

Glup pamti, pametan pisxe

  • Home
  • About
  • R_links
August 22, 2013

Python debug notes

At specific location insert:

import pdb; pdb.set_trace()

then continue

Post-mortem debugging:

import pdb; pdb.pm()

Posted by Hrvoje
Filed under: python
Tags: py, debug, pdb
  • « To sugar or not to sugar
  • Vim commands »

Recent Posts

  • How to mount qcow2 images
  • break to blame the breakup (BBB)
  • Fun with P(h)IL
  • To sugar or not to sugar
  • Python debug notes
  • Vim commands
  • A Note on Grep
  • Python cv2.findContour from OpenCV
  • Linux fc command

Search

Categories

  • image processing (1)
  • linux (2)
  • python (5)
  • vrtualization (1)

Tags

bash (1), breakpoint (1), cv2 (1), debug (1), fc (1), grep (1), history (1), image (1), kvm (1), linux (1), logical indexing (1), OpenCv (1), pdb (2), PIL (1), py (5), qcow2 (1), qemu (1), shell (1), syntactic sugar (1), vi (1), vim (1), vm (1), zsh (1)

Tags Cloud

bash   breakpoint   cv2   debug   fc   grep   history   image   kvm   linux   logical indexing   OpenCv   pdb   PIL   py   qcow2   qemu   shell   syntactic sugar   vi   vim   vm   zsh
© Copyright 2013, Hrvoje. Powered by Tinkerer and Sphinx.