Lines Matching defs:breakpoint

72       // Normally an empty breakpoint condition marks is as unset. But we need
239 interpreter, "breakpoint set",
240 "Sets a breakpoint or set of breakpoints in the executable.",
241 "breakpoint set <cmd-options>"),
242 m_python_class_options("scripted breakpoint", true, 'P') {
316 error_context = "Unknown language type for exception breakpoint";
326 error_context = "Unsupported language type for exception breakpoint";
416 option_arg, short_option, long_option, "Invalid breakpoint name");
545 // 1). -f -l -p [-s -g] (setting breakpoint by source location)
546 // 2). -a [-s -g] (setting breakpoint by address)
547 // 3). -n [-s -g] (setting breakpoint by function name)
548 // 4). -r [-s -g] (setting breakpoint by function name regular
550 // 5). -p -f (setting a breakpoint by comparing a reg-exp
552 // 6). -E [-w -h] (setting a breakpoint for exceptions for a
612 // with the library, and use that. That way the address breakpoint
736 result.AppendErrorWithFormat("Invalid breakpoint name: %s",
756 // set the breakpoint till we run.
758 output_stream.Printf("WARNING: Unable to resolve breakpoint to any "
764 result.AppendError("Breakpoint creation failed: No breakpoint created.");
812 : CommandObjectParsed(interpreter, "breakpoint modify",
813 "Modify the options on a breakpoint or set of "
815 "If no breakpoint is specified, acts on the last "
816 "created breakpoint. "
889 "Enable the specified disabled breakpoint(s). If "
921 // No breakpoint selected; enable all currently set breakpoints.
928 // Particular breakpoint selected; enable that breakpoint.
942 Breakpoint *breakpoint =
946 breakpoint->FindLocationByID(cur_bp_id.GetLocationID()).get();
952 breakpoint->SetEnabled(true);
972 interpreter, "breakpoint disable",
973 "Disable the specified breakpoint(s) without deleting "
978 "Disable the specified breakpoint(s) without deleting them. \
983 "Note: disabling a breakpoint will cause none of its locations to be hit \
996 "The first command disables all locations for breakpoint 1, \
1026 // No breakpoint selected; disable all currently set breakpoints.
1033 // Particular breakpoint selected; disable that breakpoint.
1048 Breakpoint *breakpoint =
1052 breakpoint->FindLocationByID(cur_bp_id.GetLocationID()).get();
1058 breakpoint->SetEnabled(false);
1083 interpreter, "breakpoint list",
1169 // No breakpoint selected; show info about all currently set breakpoints.
1172 Breakpoint *breakpoint = breakpoints.GetBreakpointAtIndex(i).get();
1173 if (breakpoint->AllowList())
1174 AddBreakpointDescription(&output_stream, breakpoint,
1179 // Particular breakpoints selected; show info about that breakpoint.
1188 Breakpoint *breakpoint =
1190 AddBreakpointDescription(&output_stream, breakpoint,
1195 result.AppendError("Invalid breakpoint ID.");
1217 : CommandObjectParsed(interpreter, "breakpoint clear",
1220 "breakpoint clear <cmd-options>") {}
1274 // 1). -f -l (clearing breakpoint by source location)
1287 // Early return if there's no breakpoint at all.
1289 result.AppendError("Breakpoint clear: No breakpoint cleared.");
1313 // remove the breakpoint.
1335 result.AppendError("Breakpoint clear: No breakpoint cleared.");
1352 : CommandObjectParsed(interpreter, "breakpoint delete",
1353 "Delete the specified breakpoint(s). If no "
1444 "All breakpoints removed. (%" PRIu64 " breakpoint%s)\n",
1451 // Either we have some kind of breakpoint specification(s),
1494 Breakpoint *breakpoint =
1497 breakpoint->FindLocationByID(cur_bp_id.GetLocationID()).get();
1511 "%d breakpoints deleted; %d breakpoint locations disabled.\n",
1649 "Configure the options for the breakpoint"
1651 "If you provide a breakpoint id, the options will be copied from "
1652 "the breakpoint, otherwise only the options specified will be set "
1654 "breakpoint name configure <command-options> "
1655 "<breakpoint-name-list>") {
1688 result.AppendErrorWithFormat("Invalid breakpoint name: %s - %s",
1701 result.AppendErrorWithFormatv("Could not find specified breakpoint {0}",
1741 "breakpoint name add <command-options> <breakpoint-id-list>") {
1780 // Particular breakpoint selected; disable that breakpoint.
1815 "breakpoint name delete <command-options> <breakpoint-id-list>") {
1854 // Particular breakpoint selected; disable that breakpoint.
1885 "List either the names for a breakpoint or info "
1888 "breakpoint name list <command-options>") {
1912 result.AppendMessage("No breakpoint names found.");
1960 interpreter, "name", "Commands to manage breakpoint names") {
1966 breakpoint name can be added to any number of breakpoints, and each breakpoint
1967 can have any number of breakpoint names attached to it. For instance:
1975 adds two names to the breakpoint set at myFunc.
1979 1) They provide a stable way to refer to a breakpoint (e.g. in another
1980 breakpoint's action). Using the breakpoint ID for this purpose is fragile, since
1981 it depends on the order of breakpoint creation. Giving a name to the breakpoint
1987 2) This is actually just a specific use of a more general feature of breakpoint
1990 breakpoint names. That allows you to refer to one breakpoint in a stable
1999 3) But breakpoint names are also entities in their own right, and can be
2000 configured with all the modifiable attributes of a breakpoint. Then when you
2001 add a breakpoint name to a breakpoint, the breakpoint will be configured to
2002 match the state of the breakpoint name. The link between the name and the
2018 Options that are not configured on a breakpoint name don't affect the value of
2021 breakpoint will set the -i option from Name1 and the -c option from Name2, and
2024 If you add multiple names to a breakpoint which have configured values for
2027 The "liveness" of these settings is one way, from name to breakpoint.
2029 which that breakpoint has, the "break modify" command will override the setting
2030 for that breakpoint, but won't change the value configured in the name or on the
2034 breakpoint to another. Using the -B option to "breakpoint name configure" makes
2035 a name configured with all the options of the original breakpoint. Then
2036 adding that name to another breakpoint copies over all the values from the
2037 original breakpoint to the new one.
2039 5) You can also use breakpoint names to hide breakpoints from the breakpoint
2042 --allow-{list,delete,disable} options to "breakpoint name configure" and then
2043 adding that name to a breakpoint.
2045 This won't keep the breakpoint from being deleted or disabled if you refer to it
2081 : CommandObjectParsed(interpreter, "breakpoint read",
2083 "a file with \"breakpoint write\". ",
2234 // No breakpoint selected; show info about all currently set breakpoints.
2261 : CommandObjectParsed(interpreter, "breakpoint write",
2263 "be read in with \"breakpoint read\". "
2358 interpreter, "breakpoint",
2360 "breakpoint <subcommand> [<command-options>]") {
2384 list_command_object->SetCommandName("breakpoint list");
2385 enable_command_object->SetCommandName("breakpoint enable");
2386 disable_command_object->SetCommandName("breakpoint disable");
2387 clear_command_object->SetCommandName("breakpoint clear");
2388 delete_command_object->SetCommandName("breakpoint delete");
2389 set_command_object->SetCommandName("breakpoint set");
2390 command_command_object->SetCommandName("breakpoint command");
2391 modify_command_object->SetCommandName("breakpoint modify");
2392 name_command_object->SetCommandName("breakpoint name");
2393 write_command_object->SetCommandName("breakpoint write");
2394 read_command_object->SetCommandName("breakpoint read");
2415 // args can be strings representing 1). integers (for breakpoint ids)
2416 // 2). the full breakpoint & location
2422 // 4). A breakpoint name
2423 // If args is empty, we will use the last created breakpoint (if there is
2435 "No breakpoint specified and no last created breakpoint.");
2440 // Create a new Args variable to use; copy any non-breakpoint-id-ranges stuff
2441 // directly from the old ARGS to the new TEMP_ARGS. Do not copy breakpoint
2443 // breakpoint ids in the range, and shove all of those breakpoint id strings
2453 // NOW, convert the list of breakpoint id strings in TEMP_ARGS into an actual
2460 // At this point, all of the breakpoint ids that the user passed in have
2461 // been converted to breakpoint IDs and put into valid_ids.
2463 // Now that we've converted everything from args into a list of breakpoint
2464 // ids, go through our tentative list of breakpoint id's and verify that
2470 Breakpoint *breakpoint =
2472 if (breakpoint != nullptr) {
2473 const size_t num_locations = breakpoint->GetNumLocations();
2480 "'%s' is not a currently valid breakpoint/location id.\n",
2486 "'%d' is not a currently valid breakpoint ID.\n",