public class DebugThread extends Object implements ExecutionHook, LogAppender
| Modifier and Type | Field and Description |
|---|---|
DapServerHandler |
handler |
long |
id |
String |
name |
Stack<Long> |
stack |
Thread |
thread |
NO_OP| Constructor and Description |
|---|
DebugThread(Thread thread,
DapServerHandler handler) |
public final long id
public final String name
public final Thread thread
public final DapServerHandler handler
public DebugThread(Thread thread, DapServerHandler handler)
protected void pause()
protected void resume()
public boolean beforeScenario(Scenario scenario, ScenarioContext context)
beforeScenario in interface ExecutionHookpublic void afterScenario(ScenarioResult result, ScenarioContext context)
afterScenario in interface ExecutionHookpublic boolean beforeStep(Step step, ScenarioContext context)
beforeStep in interface ExecutionHookpublic void afterStep(StepResult result, ScenarioContext context)
afterStep in interface ExecutionHookprotected ScenarioContext getContext()
protected DebugThread _continue()
protected DebugThread next()
protected DebugThread stepOut()
protected boolean isStepMode()
protected DebugThread stepIn()
protected DebugThread stepBack()
public LogAppender getAppender()
public void setAppender(LogAppender appender)
public String getBuffer()
getBuffer in interface LogAppenderpublic String collect()
collect in interface LogAppenderpublic void append(String text)
append in interface LogAppenderpublic void close()
close in interface LogAppenderpublic boolean beforeFeature(Feature feature, ExecutionContext context)
beforeFeature in interface ExecutionHookpublic void afterFeature(FeatureResult result, ExecutionContext context)
afterFeature in interface ExecutionHookpublic void beforeAll(Results results)
beforeAll in interface ExecutionHookpublic void afterAll(Results results)
afterAll in interface ExecutionHookpublic String getPerfEventName(HttpRequestBuilder req, ScenarioContext context)
getPerfEventName in interface ExecutionHookpublic void reportPerfEvent(PerfEvent event)
reportPerfEvent in interface ExecutionHookCopyright © 2020. All rights reserved.