Name

continue

Synopsis

continue [count]

Resume execution after stopping at a breakpoint. If supplied, count is an ignore count; see the entry for ignore.

Example

Set a breakpoint in main(). Once there, set another break point and then continue until the new breakpoint is reached.

    (gdb) break main
    Breakpoint 3 at 0x8071d2e: file main.c, line 209.
    (gdb) run ...
    Starting program: ...

    Breakpoint 3, main (argc=2, argv=0xbff59f04) at main.c:209
    209             const char *optlist = "+F:f:v:W;m:D";
    (gdb) break do_print
    Breakpoint 4 at 0x805b239: file builtin.c, line 1573.
    (gdb) continue
    Continuing.

    Breakpoint 4, do_print (tree=0x91589e0) at builtin.c:1573
    1573            struct redirect *rp = NULL;

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.