In this example, the
Locate Memory Problems
, analysis type is used when analyzing
and for subsequent analysis runs that use
this baseline result.
To create the result that you want to use as a
baseline, perform a memory analysis on
and save the result in the
$ inspxe-cl -collect mi3 -result-dir ./mi3_baseline -- ./MyApp
Create a breakpoint for problem P1 in the baseline result.
$ inspxe-cl -create-breakpoints P1 -result-dir ./mi3_baseline
Perform another analysis in debug mode by specifying the
option so that the debugger breaks at the P1
breakpoint created in the previous step. The
option passes in the baseline result
result directory. Since the result
directory for the new analysis result was not specified, it is written to a
default-named result directory under the current working directory.
$ inspxe-cl -collect mi3 -debug-this -baseline-result ./mi3_baseline -- ./MyApp