Next: , Up: Breakpoints   [Contents][Index]


4.4.1.1 Setting breakpoints (‘break’)

Breakpoints are set with the break command (abbreviated b). Use info targets to get a list of target names that you can break at.

break

In this form without argument, list all breakpoints.

Example:

remake<0> break
remake<1> info break
Num Type           Disp Enb target     What
  1 breakpoint     keep y   in all at /tmp/Makefile:450
break target|line-number [all|run|prereq]

Set a breakpoint at target or at line line-number in the current Makefile.

There are 3 place where one may want to stop at:

Example:

remake<0> break all

Breakpoint 1 on target all: file Makefile, line 450.
Warning: target is in the process of being updated;