Uses of Record Class
cs1302.tracer.trace.BreakpointSpec
Packages that use BreakpointSpec
-
Uses of BreakpointSpec in cs1302.tracer.execution
Methods in cs1302.tracer.execution that return types with arguments of type BreakpointSpecModifier and TypeMethodDescriptionJobOptions.breakpointSpecs()Returns the parsed breakpoint specifications for these options.static List<BreakpointSpec> JobOptions.parseBreakpoints(Collection<String> raw) Parses a collection of raw breakpoint strings into BreakpointSpec objects. -
Uses of BreakpointSpec in cs1302.tracer.trace
Methods in cs1302.tracer.trace that return BreakpointSpecModifier and TypeMethodDescriptionstatic BreakpointSpecBreakpointSpec.of(int lineNumber) Creates an unqualified breakpoint specification for a line number.static BreakpointSpecCreates a file-qualified breakpoint specification.static BreakpointSpecParses a breakpoint string into a BreakpointSpec.Method parameters in cs1302.tracer.trace with type arguments of type BreakpointSpecModifier and TypeMethodDescriptionBreakpointReader.resolve(CompilationHelper.CompilationResult compiled, Collection<BreakpointSpec> specs) Resolves breakpoint specifications against the executable lines found in compiled classes.BreakpointReader.resolve(Map<String, Set<Integer>> availableLines, Collection<BreakpointSpec> specs) Resolves breakpoint specifications against a map of source paths to executable lines.static List<ExecutionSnapshot> DebugTraceHelper.traceChronologicalWithSpecs(CompilationHelper.CompilationResult compilationResult, Collection<BreakpointSpec> specs, List<com.github.javaparser.ast.CompilationUnit> parsedSources, boolean includeMainExit, String stdin) Run a program under JDI and capture snapshots chronologically with BreakpointSpecs.PersistentGuestSession.traceChronologicalWithSpecs(CompilationHelper.CompilationResult cr, Collection<BreakpointSpec> specs, List<com.github.javaparser.ast.CompilationUnit> parsedSources, boolean includeMainExit, String stdin) Executes a trace job collecting chronological snapshots with optional main exit snapshot.PersistentGuestSession.traceChronologicalWithSpecs(CompilationHelper.CompilationResult cr, Collection<BreakpointSpec> specs, List<com.github.javaparser.ast.CompilationUnit> parsedSources, String stdin) Executes a trace job collecting chronological snapshots at specified breakpoints.static Map<Integer, List<ExecutionSnapshot>> DebugTraceHelper.traceLatestWithSpecs(CompilationHelper.CompilationResult compilationResult, Collection<BreakpointSpec> specs, List<com.github.javaparser.ast.CompilationUnit> parsedSources) Captures only the latest state per selected breakpoint specification.static Map<Integer, List<ExecutionSnapshot>> DebugTraceHelper.traceLatestWithSpecs(CompilationHelper.CompilationResult compilationResult, Collection<BreakpointSpec> specs, List<com.github.javaparser.ast.CompilationUnit> parsedSources, String stdin) Captures only the latest state per selected breakpoint specification with stdin.static Map<Integer, List<ExecutionSnapshot>> DebugTraceHelper.traceWithSpecs(CompilationHelper.CompilationResult compilationResult, Collection<BreakpointSpec> specs, List<com.github.javaparser.ast.CompilationUnit> parsedSources, String stdin) Take snapshots of a program's execution state with stdin using breakpoint specifications.PersistentGuestSession.traceWithSpecs(CompilationHelper.CompilationResult cr, Collection<BreakpointSpec> specs, List<com.github.javaparser.ast.CompilationUnit> parsedSources, String stdin, boolean accumulate) Executes a trace job and returns snapshots mapped by line number.