Derek Parker
8aa73bcf21
Promote info subcommands
...
There's no reason to hang a bunch of commands off of the `info` command.
Promoted all commands to be top level.
2015-08-10 21:31:27 -05:00
aarzilli
8e8d2660ef
Improve commands which take a location spec
...
Breakpoints, tracepoints, etc.. take a location spec as input. This
patch improves the expressiveness of that API. It allows:
* Breakpoint at line
* Breakpoint at function (handling package / receiver smoothing)
* Breakpoint at address
* Breakpoint at file:line
* Setting breakpoint based off regexp
2015-08-08 14:41:48 -05:00
Derek Parker
5ede17491e
Refactor terminal exit command
2015-07-29 18:19:06 -05:00
Joe Shaw
d275393488
Add bt alias for stack, quit and q for exit
...
Fixes #182
2015-07-29 18:04:23 -05:00
Derek Parker
e5b20612e5
Reformat output of 'help' command
2015-07-29 17:49:23 -05:00
Derek Parker
e9b3a9eac1
Remove duplicate command alias
2015-07-29 08:21:35 -05:00
Marko Bencun
ae1076ec39
Put '> ' in front of the location marker.
...
This makes parsing by external tools much easier.
It is consistent with pdb.
2015-07-25 21:24:59 -05:00
Derek Parker
df2bf3cb63
Fix comment typos
2015-07-16 13:07:34 -05:00
Derek Parker
3cee10d8bc
Implement 'trace' subcommand
...
Allows a user to execute `dlv trace [regexp]` and Delve will execute the
program and output information on functions matching [regexp].
2015-07-12 15:20:12 -05:00
Derek Parker
28bc9d1ce7
Print 'exit' upon ctrl-d EOF
2015-07-11 09:28:29 -05:00
Derek Parker
8b68ae0bf5
Cleanup conditional
2015-07-07 14:58:01 -05:00
Derek Parker
c1e7f8c45a
Do not ask to kill process we spawned
2015-07-07 09:04:03 -05:00
Derek Parker
2f7612d4af
Add command to restart process
...
Fixes #95
2015-07-03 15:35:22 -05:00
Derek Parker
6b99c5f519
Cleanup tracepoint commit
...
* Cleanup comments
* Cleanup naming in certain instances
* Modify stacktrace to return current location
2015-06-30 22:16:52 -05:00
aarzilli
3a96d8eed7
trace command
2015-06-29 21:16:55 +02:00
Derek Parker
4f6c0de11f
Pad single digit line numbers in output
2015-06-26 07:32:11 -05:00
Derek Parker
4d8f5659ac
Fix source file context formatting
2015-06-25 07:46:02 -05:00
Derek Parker
48bb398c4b
Properly report process exits
2015-06-21 21:11:47 -05:00
aarzilli
07473f04c5
Implement stack command
...
Finishes #63 #64
2015-06-20 15:29:33 -05:00
Derek Parker
cc5e5c780c
Update "info" command help msg to include regs
2015-06-19 14:34:27 -05:00
Giulio Iotti
256c83b17b
Implement regs command to print registers values, fixes #62
2015-06-19 14:27:01 -05:00
Derek Parker
bfca6114d4
Rename package proctl -> proc
2015-06-12 14:49:23 -05:00
Derek Parker
a71f218e35
Rename: s/BreakPoint/Breakpoint/
2015-06-12 14:48:18 -05:00
Derek Parker
fe19f3f20c
Rename: s/EvalSymbol/EvalVariable/
2015-06-12 14:04:14 -05:00
omie
8a05893244
added test for terminal command thread: args bound checking
2015-05-30 12:53:41 +05:30
omie
c9acc86601
added length check for args in terminal thread command
2015-05-29 22:59:02 +05:30
Derek Parker
819c476aa9
Do not attempt to automatically read locals/args
2015-05-08 16:43:03 -05:00
Seth W. Klein
b5c3ee4012
Default to killing process on exit
...
Also adds support for capitalization variants of "no" to not kill
process.
2015-05-07 23:00:46 -04:00
Seth W. Klein
31658f37dc
Add default answer hint to kill process prompt
...
Also supports capitalized answers.
2015-05-07 22:16:39 -04:00
Derek Parker
794d5b1e19
Revert errors.New change
2015-05-04 17:31:13 -05:00
epipho
0358c174ad
Moving history file to .dlv config directory
2015-05-04 17:11:08 -05:00
Derek Parker
1ad66660a1
Prefer errors.New for unformatted errors
2015-05-01 16:27:29 -05:00
Derek Parker
0556eb925d
Code organization
2015-04-30 08:38:00 -05:00
Derek Parker
73a5c7c246
Fix: replay last command on empty string
2015-04-29 23:38:01 -05:00
Derek Parker
51a9aa71c6
Fix: Exit on EOF
2015-04-29 23:21:27 -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