Derek Parker
c7dc57d44f
Detach from process in tests
...
Prevents leaving around a bunch of zombie processes
2015-05-27 17:38:53 -05:00
Derek Parker
49667f2302
Rename thread.Process -> thread.dbp
...
Process is an incorrect name for the DebuggedProcess struct that the
thread is "a part" of. Also, no need to export that field.
2015-05-27 12:16:45 -05:00
Derek Parker
efc5003cdd
Compile fixtures on demand, only once
2015-05-15 09:23:58 -05:00
Derek Parker
228587f6ba
Specify log visibility with NewServer
2015-05-08 17:26:09 -05:00
Derek Parker
819c476aa9
Do not attempt to automatically read locals/args
2015-05-08 16:43:03 -05:00
Dan Mace
ecb8e8a42a
Consolidate test support/setup
...
Add a test support package which allows shared test functionality
for both the unit and integration tests.
Tests importing the proctl/test package will gain access to a special
test entrypoint which precompiles fixtures and makes them available
to tests.
2015-05-04 17:44:40 -05:00
Derek Parker
794d5b1e19
Revert errors.New change
2015-05-04 17:31:13 -05:00
Dan Mace
064462e5b5
Support a headless server mode
...
Add a -headless flag which runs only the debugger server until
a SIGINT is received.
2015-05-02 14:42:47 -05:00
Dan Mace
ca2508af6b
Suppress output of HTTP error from client
...
Introduce a client error type which preserves HTTP error information
but which doesn't render the HTTP details by default.
2015-05-02 14:38:38 -05:00
Derek Parker
1ad66660a1
Prefer errors.New for unformatted errors
2015-05-01 16:27:29 -05:00
Derek Parker
6cadeb41fc
Pass kill signal to ptrace_detach
2015-05-01 15:50:29 -05:00
Derek Parker
9040ec1af1
Only detach if not killing process
2015-05-01 15:14:58 -05:00
Dan Mace
3ffbe2d7b7
Precompile fixtures
2015-04-29 21:05:41 -05:00
Dan Mace
2954e03a20
Introduce client/server separation
...
Refactor to introduce client/server separation, including a typed
client API and a HTTP REST server implementation.
Refactor the terminal to be an API consumer.
2015-04-29 21:05:41 -05:00