GP-0: Fix tests

This commit is contained in:
Dan 2024-04-05 10:15:12 -04:00
parent c63be6d2c3
commit 53e4ce5c30
8 changed files with 59 additions and 17 deletions

View file

@ -250,6 +250,18 @@ public interface DebuggerTraceManagerService {
*/
void closeTrace(Trace trace);
/**
* Close the given trace without confirmation
*
* <p>
* Ordinarily, {@link #closeTrace(Trace)} will prompt the user to confirm termination of live
* targets associated with traces to be closed. Such prompts can cause issues during automated
* tests.
*
* @param trace the trace to close
*/
void closeTraceNoConfirm(Trace trace);
/**
* Close all traces
*/

View file

@ -546,7 +546,7 @@ public class DebuggerCoordinates {
if (object != null) {
return path(object.getCanonicalPath());
}
throw new IllegalArgumentException("No such object at path" + path);
throw new IllegalArgumentException("No such object at path " + newPath);
}
protected static TraceThread resolveThread(Target target, TraceObjectKeyPath objectPath) {