ThreadContext threadCtx = ctx.getThreadContext();
String threadIdStr = commandLine.getValue(Options.THREAD_ID_OPTION);
long threadId;
if (threadIdStr == null) {
ctx.resume();
return Services.getMessage("debugging.session.resumed");
} else {
// Select the currently stepping thread if an empty thread ID is given.
if (threadIdStr.isEmpty()) {
IJavaThread steppingThread = (IJavaThread) threadCtx.getSteppingThread();