next up previous contents
Next: Single stepping Up: Debugging tools Previous: Starting execution   Contents

Setting a breakpoint

We can set the break point at any line in the soure code by giving the a line number (line numbers are shown in dbx). The command is, stop at NN , where NN is the line number at which you want to set the break point.

We can set a break point just after entering a function. The command is, stop in func_name, where func_name is the name of the function at which the break point is to be set.



Sushil Prasad 2004-09-16