Python bdb Introduction

Python bdb Introduction

The bdb module handles basic debugger functions via the debugger. The bdb module has 2 different classes-

1. class bdb.Breakpoint (self, file, line, temp= 0, condn= None, funcname= None)- 

This class implements temporary breakpoints, ignore counts, disabling and re-enabling, and conditionals. Breakpoint can be considered as a pause in the debugging process. These breakpoints are indexed by number through %u2018bpbynumber%u2019 list and by (file, line) pairs through bplist.

2. class bdb.Bdb (skip= None)- This class acts as a generic Python debugger base class. pdb.Pdb is an example of this class