Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRunAndConnect ¶
func BuildRunAndConnect(ctx context.Context, source JavaSource, onConnect func(ctx context.Context, conn *jdwp.Connection) int) int
BuildRunAndConnect builds all the source files with javac, executes them with java, attaches to it via JDWP, then calls onConnect with the connection.
Types ¶
type JavaSource ¶
JavaSource is a map of file name 'foo.java' to the source code.
Click to show internal directories.
Click to hide internal directories.