create-breakpoints
Set breakpoints for problems in a result to
investigate with the debugger.
Syntax
-create-breakpoints
<string>
|
ALL
Arguments
A string identifying one or more problems where
breakpoints should be inserted. List problems in the form P<n>, where
P<n> is a problem identifier in the result problem list. Specify multiple
problems as a comma-separated string (no spaces), or use
ALL
.
Modifiers
Description
Use the
create-breakpoints
action to specify problems in a result
that you want to investigate with the debugger.
This is a three-step process.
- Run acollectaction using a memory or threading analysis type.Run acreate-breakpointsaction to add breakpoints for specified problems to the result of the previouscollectaction.
- Run anothercollectaction, using the same analysis type. Make sure the original result is used as the baseline result, and use thedebug-thisaction-option to enable the debugger.
The debugger is not supported for the
mi1
analysis type.
Example
Perform a memory analysis and save the result as
r000mi3
.
$ inspxe-cl -collect mi3 -result-dir r000mi3 -- ./a.out
This command creates a breakpoint for problem P10 in the result from the
previous analysis.
$ inspxe-cl -create-breakpoints P10 -result-dir r000mi3
This command re-runs the analysis in debug mode. The debugger breaks at
the P10 breakpoint that was created in the previous step.
$ inspxe-cl -collect mi3 -debug-this -baseline-result r000mi3 -result-dir r001mi3 -- ./a.out