Bookmarks

A bookmark names a time in a program’s execution history. Create a bookmark using the ubookmark command, jump to a bookmarked time using the ugo bookmark command, and list bookmarks using the uinfo bookmarks command.

ubookmark [name]

Create a bookmark at the current time in execution history.

If name is omitted, choose a name automatically.

Creating a new bookmark overwrites old bookmarks with the same name.

For example:

126         for (unsigned i = 0; i < sizeof indicator; ++i)
recording 15,541> uinfo time -a
Current time is: 15,541:0x5555555554e0 (in recorded range: [1 - 15,541])
recording 15,541> ubookmark test
Bookmark test

The bookmark test now refers to the current time in the program’s execution history.

ugo bookmark name

Jump to a bookmarked time in execution history.

For example:

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
recording 1,165,498 sigabrt> ugo bookmark test
126         for (unsigned i = 0; i < sizeof indicator; ++i)
Have moved to bookmark: test.
1% 15,541 test> uinfo time -a
Current time is: 15,541:0x5555555554e0 (in recorded range: [1 - 1,165,498])

uinfo bookmarks

Show bookmarks.

For example:

1% 15,541 test> uinfo bookmarks
    15,541:0x5555555554e0: test
    1,165,498:0x7ffff7e0cf61: sigabrt