Pending Breakpoints on a Line Number
Because TotalView “slides” a line number breakpoint to the next valid location (see
Sliding Breakpoints), explicitly setting a line number pending breakpoint is rarely necessary. If, however, you know that there will be code at that spot, you can explicitly set a pending breakpoint in only these ways:
• By creating a line number breakpoint at a line near the end of a source file where the following lines have no line number symbols, but where you expect there to be dynamically loaded code at runtime. For example, here is a breakpoint set at line 177 just before the end of a file:
• In the At Location dialog box, type the file name and line number of a source file that has not been loaded yet. For example, dynaloaded.c#42 where dynaloaded.c is compiled into a dynamically loaded shared library. TotalView posts a dialog box to confirm, unless "Create a pending breakpoint" is selected.