All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.debugger.PausedEvent Maven / Gradle / Ivy

There is a newer version: 94.0.4606.61
Show newest version
package com.hubspot.chrome.devtools.client.core.debugger;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;
import com.hubspot.chrome.devtools.client.core.runtime.StackTrace;
import com.hubspot.chrome.devtools.client.core.runtime.StackTraceId;
import java.util.List;

/**
 * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
 */
public final class PausedEvent extends Event {
  private List callFrames;

  private String reason;

  private Object data;

  private List hitBreakpoints;

  private StackTrace asyncStackTrace;

  private StackTraceId asyncStackTraceId;

  private StackTraceId asyncCallStackTraceId;

  @JsonCreator
  public PausedEvent(@JsonProperty("callFrames") List callFrames,
      @JsonProperty("reason") String reason, @JsonProperty("data") Object data,
      @JsonProperty("hitBreakpoints") List hitBreakpoints,
      @JsonProperty("asyncStackTrace") StackTrace asyncStackTrace,
      @JsonProperty("asyncStackTraceId") StackTraceId asyncStackTraceId,
      @JsonProperty("asyncCallStackTraceId") StackTraceId asyncCallStackTraceId) {
    this.callFrames = callFrames;
    this.reason = reason;
    this.data = data;
    this.hitBreakpoints = hitBreakpoints;
    this.asyncStackTrace = asyncStackTrace;
    this.asyncStackTraceId = asyncStackTraceId;
    this.asyncCallStackTraceId = asyncCallStackTraceId;
  }

  public List getCallFrames() {
    return callFrames;
  }

  public String getReason() {
    return reason;
  }

  public Object getData() {
    return data;
  }

  public List getHitBreakpoints() {
    return hitBreakpoints;
  }

  public StackTrace getAsyncStackTrace() {
    return asyncStackTrace;
  }

  public StackTraceId getAsyncStackTraceId() {
    return asyncStackTraceId;
  }

  public StackTraceId getAsyncCallStackTraceId() {
    return asyncCallStackTraceId;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy