types.ts 470 B

123456789101112131415161718192021222324
  1. export interface ThreadInspection {
  2. callstack: string[]
  3. threadRunning: boolean
  4. }
  5. export interface ThreadStatus {
  6. callstack: string[]
  7. threadRunning?: boolean
  8. }
  9. export interface DebugStatus {
  10. breakonstart: boolean,
  11. breakpoints: any,
  12. sources: string[],
  13. threads: Record<number, ThreadStatus>
  14. }
  15. /**
  16. * Log output stream for this client.
  17. */
  18. export interface LogOutputStream {
  19. log(value: string): void;
  20. error(value: string): void;
  21. }