debugger

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package debugger enables WTL Debugger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debugger

type Debugger struct {
	// contains filtered or unexported fields
}

Debugger is an implementation of the WTL Debugger server.

func New

func New(port int) *Debugger

New returns a Debugger waiting for a connection on TCP port.

func (*Debugger) Healthy

func (d *Debugger) Healthy(context.Context) error

Healthy returns nil iff a frontend is connected and has sent a step or continue command.

func (*Debugger) Name

func (*Debugger) Name() string

Name is the name of this component used in errors and logging.

func (*Debugger) Request

func (d *Debugger) Request(r *http.Request)

Request logs r to the debugger frontend. If r matches a breakpoint or the debugger is in step mode, Request will not return until a continue message from the front-end is received.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL