e60942a39d 
					 
					
						
						
							
							terminal: show message if there are no vars/locals/args  
						
						... 
						
						
						
						When the vars, locals, or args commands return no results, nothing is
printed out to the terminal. This commit makes these commands print a
message like `(no locals)` when there is nothing to show. This feedback
is more descriptive of what is being returned than an empty string. 
						
						
					 
					
						2016-04-06 09:26:10 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b1011b7378 
					 
					
						
						
							
							terminal: create "h" alias for "help" command  
						
						
						
						
					 
					
						2016-03-23 18:21:57 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						522e7aa266 
					 
					
						
						
							
							misc: minor message format cleanup  
						
						
						
						
					 
					
						2016-03-17 15:35:10 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						37f124817d 
					 
					
						
						
							
							dlv: Misc refactors  
						
						
						
						
					 
					
						2016-03-17 15:32:30 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ff0ec8ce00 
					 
					
						
						
							
							terminal: do not use escape codes on windows unless they are supported  
						
						
						
						
					 
					
						2016-03-15 09:43:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c4797ea445 
					 
					
						
						
							
							proc: Breakpoint to catch unrecovered panics  
						
						... 
						
						
						
						Automatically sets a breakpoint on runtime.startpanic, the function
that gets called by runtime.dopanic when a panic is not recovered.
Implements #317  
						
						
					 
					
						2016-03-09 14:15:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						216616c34e 
					 
					
						
						
							
							terminal: misc cleanup  
						
						
						
						
					 
					
						2016-02-28 16:42:48 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5ba9bcd740 
					 
					
						
						
							
							terminal: Mechanism to handle command prefixes  
						
						... 
						
						
						
						Implements extensible mechanism to specify which commands accept
prefixes (goroutine, frame, on) instead of hardcoding them in
a switch.
Implements #240  
						
						
					 
					
						2016-02-28 13:38:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c8f4cee97d 
					 
					
						
						
							
							New command 'types'  
						
						... 
						
						
						
						Lists all the types defined in the debugged program. 
						
						
					 
					
						2016-02-27 15:39:11 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						16f30d0738 
					 
					
						
						
							
							terminal: Refactor Term/FakeTerm  
						
						
						
						
					 
					
						2016-02-27 15:02:55 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9e588fef72 
					 
					
						
						
							
							terminal: Next does not fill BreakpointInfo  
						
						... 
						
						
						
						Fixes  #411  
					
						2016-02-25 08:46:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3be65a4c1f 
					 
					
						
						
							
							service, terminal: Named breakpoints and breakpoint conditions  
						
						... 
						
						
						
						Implements #109  and #120  
						
						
					 
					
						2016-02-16 15:59:37 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3360a2e997 
					 
					
						
						
							
							terminal: Fix disassemble cmd name/improve help msg  
						
						
						
						
					 
					
						2016-02-11 17:16:42 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e7a9a3ea9a 
					 
					
						
						
							
							Disassemble command  
						
						... 
						
						
						
						Implements #368  
						
						
					 
					
						2016-02-11 16:59:07 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b370e20cd5 
					 
					
						
						
							
							proc: bugs setting next breakpoints  
						
						... 
						
						
						
						1. A running goroutine is by definition not parked waiting for a
chan recv
2. The FDE end address is intended to be exclusive, the code
interpreted as inclusive and sometimes ended up setting a breakpoint
on a function other than the current one. 
						
						
					 
					
						2016-02-11 08:28:07 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3ca1dd35ca 
					 
					
						
						
							
							cmd/dlv: bugfix: trace disables terminal echo  
						
						... 
						
						
						
						Fixes  #397  
					
						2016-02-04 08:55:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a1f36a1ce 
					 
					
						
						
							
							dlv: Flag to print stacktrace on trace subcommand  
						
						
						
						
					 
					
						2016-02-01 09:28:25 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b94e2bd0ec 
					 
					
						
						
							
							terminal/command: stack command panics when stack has 1 frame  
						
						... 
						
						
						
						Insure that the digits function always returns at least 1.
Fixes  #354  (partial) 
						
						
					 
					
						2016-01-29 07:26:41 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1bda586115 
					 
					
						
						
							
							proc: step now goes to next line, including funcs  
						
						... 
						
						
						
						This patch modifies the `step` command to step to the next source line,
stepping into any function encountered along the way.
Fixes  #360  
						
						
					 
					
						2016-01-24 15:48:36 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bddb712a6b 
					 
					
						
						
							
							Add support for Windows.  
						
						... 
						
						
						
						Fixes  #198 . 
					
						2016-01-20 19:06:31 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af54701cb7 
					 
					
						
						
							
							terminal/command: bugfix: goroutines doesn't work without arguments  
						
						... 
						
						
						
						Splitting an empty string results in a one element array with a
single empty string element.
See: http://play.golang.org/p/EzVX64Q82A  
						
						
					 
					
						2016-01-19 15:24:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0188dc2c8b 
					 
					
						
						
							
							misc: cleanup and documentation  
						
						
						
						
					 
					
						2016-01-10 02:10:51 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						708cf2f290 
					 
					
						
						
							
							service,terminal: propagating simultaneous breakpoints  
						
						
						
						
					 
					
						2016-01-09 08:44:25 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d4bfd25a28 
					 
					
						
						
							
							cmd/trace: Shorten file paths in output  
						
						... 
						
						
						
						Export the function to shorten file paths from the terminal package so
that it can be used in the `trace` subcommand. 
						
						
					 
					
						2015-12-28 08:46:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a0ba48184e 
					 
					
						
						
							
							terminal/command: bugfix: wrong check in sourceCommand  
						
						... 
						
						
						
						Fixes  #312  
					
						2015-12-15 15:16:24 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d8ede9b04f 
					 
					
						
						
							
							terminal: Split arguments inside the command function  
						
						... 
						
						
						
						Print and set need to receive their argument unsplit to support
complex expressions 
						
						
					 
					
						2015-11-04 12:28:48 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						50b5fc92e2 
					 
					
						
						
							
							Changed api.Variable to have a machine readable value  
						
						... 
						
						
						
						The new contents of api.Variable are documented in
proc/variables.go.
Implements #243  
						
						
					 
					
						2015-10-28 18:28:58 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						49d8b18c10 
					 
					
						
						
							
							proc, terminal: fix package docstrings  
						
						
						
						
					 
					
						2015-10-27 19:38:57 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d4d4021a41 
					 
					
						
						
							
							proc: Update help for new goroutines flags & minor cleanup  
						
						
						
						
					 
					
						2015-10-18 15:02:14 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb529eafab 
					 
					
						
						
							
							terminal,proc: Improved goroutine printing  
						
						... 
						
						
						
						Three locations are returned for goroutines: its current location,
its current location excluding unexported runtime functions and
the location of its go instruction.
The command 'goroutines' takes a new parameter to select which
location to print (defaulting to current location w/o runtime) 
						
						
					 
					
						2015-10-18 14:40:52 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						197c165699 
					 
					
						
						
							
							proc/breakpoint Add breakpoint statistics  
						
						... 
						
						
						
						This adds support for breakpoints statistics
Fixes  #247  
						
						
					 
					
						2015-10-09 16:01:06 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						769dd59b4d 
					 
					
						
						
							
							terminal: correct CSI sequence in (*Term).Println  
						
						... 
						
						
						
						<esc>[0m (reset) should be used instead of <esc>[37m (set foreground
color to white) 
						
						
					 
					
						2015-10-05 14:01:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						40eec12308 
					 
					
						
						
							
							terminal/command: Update clearall help text  
						
						
						
						
					 
					
						2015-10-04 10:59:53 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c6b5609f77 
					 
					
						
						
							
							all: Run go fmt across all files  
						
						
						
						
					 
					
						2015-10-04 10:58:32 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8c01bcc34d 
					 
					
						
						
							
							terminal/command: add optional linespec argument to clearall  
						
						... 
						
						
						
						If an optional linespec argument is passed to clearall command then only
breakpoints matching this linespec will be cleared.
Behavior of clearall command without arguments hasn't changed. 
						
						
					 
					
						2015-10-04 10:49:25 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eb2bc2a7ee 
					 
					
						
						
							
							terminal: Implements init file and source command  
						
						... 
						
						
						
						The 'source' command reads the file specified as argument and executes
it as a list of delve commands.
Additionally a flag '--init' can be passed to delve specifying a file
containing a list of commands to execute on startup.
Issue #96  
						
						
					 
					
						2015-10-04 10:32:38 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bc9ac0ec78 
					 
					
						
						
							
							terminal/command: check for SelectedGoroutine == nil in goroutines  
						
						... 
						
						
						
						Fixes  #257  
					
						2015-10-03 14:29:46 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f8b4b45a03 
					 
					
						
						
							
							terminal/command: Refactor formatting of line numbers  
						
						
						
						
					 
					
						2015-09-30 08:39:14 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						80107dba8d 
					 
					
						
						
							
							terminal: Refactor handling of dumb terminals  
						
						
						
						
					 
					
						2015-09-29 22:42:06 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						76b9aa03bb 
					 
					
						
						
							
							terminal/command: Support for dumb terminal  
						
						... 
						
						
						
						Support for dumb terminal
Fixes  #252  
						
						
					 
					
						2015-09-29 21:55:41 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c9b517067b 
					 
					
						
						
							
							Implements set command for pointers and numerical values  
						
						... 
						
						
						
						set <variable name> <value> 
						
						
					 
					
						2015-09-28 22:45:06 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d81482c820 
					 
					
						
						
							
							terminal: bugfix: Do not detach from/kill already exited process  
						
						
						
						
					 
					
						2015-09-27 07:56:47 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e02625ab89 
					 
					
						
						
							
							terminal/command: Refactor to use stdlib function  
						
						... 
						
						
						
						Replace function with a stdlib implementation. 
						
						
					 
					
						2015-09-19 23:58:18 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2407005444 
					 
					
						
						
							
							terminal/command: Stack no long takes goroutine id  
						
						... 
						
						
						
						Default numeric argument now simply represents the depth. If you would
like to see the stack trace of another goroutine, use `goroutine <id> bt`. 
						
						
					 
					
						2015-09-19 23:43:43 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						da39258bec 
					 
					
						
						
							
							stack command: -full flag prints local variables and arguments of all the functions on the stack trace  
						
						
						
						
					 
					
						2015-09-18 08:34:21 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2c48b60bb4 
					 
					
						
						
							
							terminal/command: list command w/ frame & goroutine commands  
						
						
						
						
					 
					
						2015-09-13 11:56:20 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e273949f37 
					 
					
						
						
							
							Add basic tab completion to terminal  
						
						
						
						
					 
					
						2015-09-12 12:46:09 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e2acf8ce4a 
					 
					
						
						
							
							Sort goroutines by ID  
						
						
						
						
					 
					
						2015-09-10 14:12:42 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0efe3eef4a 
					 
					
						
						
							
							Sort threads by ID  
						
						
						
						
					 
					
						2015-09-10 14:04:59 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c6ebd80905 
					 
					
						
						
							
							Variable evaluation on arbitrary (goroutine, frame) pair.  
						
						
						
						
					 
					
						2015-09-05 12:08:40 -05:00