HP gnu source-level debugger 5992-4701 Bedienungsanleitung Seite 51

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 369
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 50
5 Stopping and Continuing
The principal purpose of a debugger is to let you stop your program before it terminates
abnormally or runs into trouble, so that you can investigate and determine the reason.
Inside GDB, your program can stop for several reasons, such as a signal, a breakpoint,
or reaching a new line after a GDB command such as step. You can then examine and
change variables, set new breakpoints or remove old ones, and then continue execution.
Usually, the messages shown by GDB provide information on the status of your
program―but you can also explicitly request this information at any time.
info program
Display information about the status of your program: whether it
is running or not, what process it is, and why it stopped.
5.1 Breakpoints
A breakpoint makes your program stop whenever a certain point in the program is
reached. For each breakpoint, you can add conditions to control in finer detail whether
your program stops. You can set breakpoints with the break command and its variants.
(see “Setting breakpoints” (page 52)) You can stop your program by line number,
function name or an address in the program.
You can arrange to have values from your program displayed automatically whenever
GDB stops at a breakpoint. See Automatic display” (page 89).
In HP-UX, SunOS 4.x, SVR4, and Alpha OSF/1 configurations, you can set breakpoints
in shared libraries before the executable is run. See “Debugging support for shared
libraries” (page 210).
A catchpoint is another special breakpoint that stops your program when a certain kind
of event occurs, such as the throwing of a C++ exception or the loading of a library. As
with watchpoints, you use a different command to set a catchpoint (see “Setting
catchpoints” (page 56)), but apart from that, you can manage a catchpoint like any
other breakpoint. (To stop when your program receives a signal, use the handle
command; see “Signals” (page 67).)
GDB assigns a number to each breakpoint, watchpoint, or catchpoint when you create
it; these numbers are successive integers starting with one. In many of the commands
for controlling various features of breakpoints you use the breakpoint number to say
which breakpoint you want to change. Each breakpoint may be enabled or disabled;
if disabled, it has no effect on your program until you enable it again.
Some GDB commands accept a range of breakpoints on which to operate. A breakpoint
range is either a single breakpoint number, like '5', or two such numbers, in increasing
order, separated by a hyphen, like '5-7'. When a breakpoint range is given to a
command, all breakpoint in that range are operated on.
5.1 Breakpoints 51
Seitenansicht 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 368 369

Kommentare zu diesen Handbüchern

Keine Kommentare

Whirlpool R 24 S (EU) podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Lodówki Whirlpool R 24 S (EU).
Dostarczamy 1 pdf podręczników Whirlpool R 24 S (EU) do pobrania za darmo według typów dokumentów: Instrukcja Obsługi






Więcej produktów i instrukcji dla Lodówki Whirlpool

Modele Rodzaj dokumentu
UI6 F1T S Podręcznik Użytkownika   Whirlpool UI6 F1T S Setup and user guide [de] [es] [fr] [it] [kk] [nl] [pt] , 2 strony
IN TS 1611 Instrukcja Obsługi       Whirlpool IN TS 1611 Instruction for Use [sv] , 40 strony
BO 2320 Instrukcja Obsługi      Whirlpool BO 2320 Instruction for Use [en] [it] , 32 strony
MTM 1721 FF/HA Instrukcja Obsługi        Whirlpool MTM 1723 FF/HA Instruction for Use, 48 strony
SDS 1721 J/HA Instrukcja Obsługi           Whirlpool SDS 1722 J/HA Instruction for Use [de] , 64 strony
IN S 1611 Instrukcja Obsługi         Whirlpool IN S 1611 Instruction for Use [sv] , 56 strony
MINIK. MK100T PV Instrukcja Obsługi   Whirlpool MINIK. MK120T PV Instruction for Use, 14 strony
ZHS6 1Q WRD Instrukcja Obsługi     Whirlpool ZHS6 1Q WRD Instruction for Use, 32 strony
SI6 1 S Podręcznik Użytkownika   Whirlpool SI6 1 S Setup and user guide, 2 strony
ARG 457/G Instrukcja Obsługi   Whirlpool ARG 488/G Instruction for Use [de] , 28 strony
BCB 312 AI Instrukcja Obsługi        Whirlpool BCB 312 AI Instruction for Use, 52 strony
IN SZ 1612 Instrukcja Obsługi      Whirlpool IN SZ 1612 Instruction for Use [kk] , 48 strony
IN D 2412 S MC Podręcznik Użytkownika   Whirlpool IN D 2412 S MC Setup and user guide, 2 strony
WHA14BAD Instrukcja Obsługi   Whirlpool WHA21BAD Instruction for Use [en] [es] [fr] [it] [tr] , 6 strony
ZIU6 F1T W Podręcznik Użytkownika   Whirlpool ZIU6 F1T W Setup and user guide [en] , 2 strony
SD 1711 Instrukcja Obsługi      Whirlpool SD 1711 Instruction for Use, 40 strony
MBL 1911 FA Instrukcja Obsługi      Whirlpool MBL 1911 FA Instruction for Use, 36 strony
BS 3022 V Instrukcja Obsługi       Whirlpool BS 3022 V Instruction for Use, 48 strony
IN S 2332 Instrukcja Obsługi       Whirlpool IN S 2332 Instruction for Use [da] , 48 strony
IN SZ 1611 Instrukcja Obsługi      Whirlpool IN SZ 1611 Instruction for Use, 32 strony