conventions: update debug conventions

Step in and Step out are now, i and o respectively.
Inspect a value is now v.
Next step is now s.

These new conventions better fit evilificiation.
This commit is contained in:
syl20bnr 2017-02-12 13:02:55 -05:00
parent 36b6b29cde
commit 87cd00eac7
7 changed files with 17 additions and 17 deletions

View File

@ -225,11 +225,12 @@ The base prefix for debugging commands is ~SPC d~.
| ~m d B~ | clear all breakpoints |
| ~m d c~ | continue |
| ~m d d~ | start debug session |
| ~m d i~ | inspect value at point |
| ~m d i~ | step in |
| ~m d l~ | local variables |
| ~m d n~ | next |
| ~m d o~ | step out |
| ~m d r~ | run |
| ~m d s~ | step |
| ~m d s~ | next step |
| ~m d v~ | inspect value at point |
Notes:
- Ideally a transient-state for breakpoint navigation should be provided.

View File

@ -200,10 +200,10 @@ As this state works the same for all files, the documentation is in global
| Key Binding | Description |
|-------------+--------------------------------|
| ~SPC m d r~ | reload namepspaces |
| ~SPC m d b~ | instrument expression at point |
| ~SPC m d e~ | display last stacktrace |
| ~SPC m d i~ | inspect expression at point |
| ~SPC m d r~ | reload namepspaces |
| ~SPC m d v~ | inspect expression at point |
*** Refactoring

View File

@ -170,7 +170,7 @@
"db" 'cider-debug-defun-at-point
"de" 'spacemacs/cider-display-error-buffer
"di" 'cider-inspect
"dv" 'cider-inspect
;; refactorings from clojure-mode
"rc{" 'clojure-convert-collection-to-map

View File

@ -218,10 +218,10 @@ Debug commands are prefixed by ~SPC m d~:
| ~b~ | break on function |
| ~c~ | continue the current computation |
| ~d~ | delete object at the point |
| ~n~ | go to next step to inspect bindings |
| ~N~ or ~p~ | go to previous step to inspect the bindings |
| ~i~ | step into the next function |
| ~r~ | refresh the debugger buffer |
| ~s~ | step into the next function |
| ~s~ | go to next step to inspect bindings |
| ~S~ | go to previous step to inspect the bindings |
| ~t~ | trace the expression |
** REPL

View File

@ -180,11 +180,10 @@
"b" 'haskell-debug/break-on-function
"c" 'haskell-debug/continue
"d" 'haskell-debug/delete
"n" 'haskell-debug/next
"N" 'haskell-debug/previous
"p" 'haskell-debug/previous
"i" 'haskell-debug/step
"s" 'haskell-debug/next
"S" 'haskell-debug/previous
"r" 'haskell-debug/refresh
"s" 'haskell-debug/step
"t" 'haskell-debug/trace)
;; configure C-c C-l so it doesn't throw any errors

View File

@ -180,13 +180,13 @@ with
| ~SPC m d B~ | clear breakpoint |
| ~SPC m d C~ | clear all breakpoints |
| ~SPC m d c~ | continue |
| ~SPC m d i~ | inspect value at point |
| ~SPC m d i~ | step |
| ~SPC m d n~ | next |
| ~SPC m d o~ | step out |
| ~SPC m d q~ | quit |
| ~SPC m d r~ | run |
| ~SPC m d s~ | step |
| ~SPC m d t~ | backtrace |
| ~SPC m d v~ | inspect value at point |
*Note:* These key bindings need a transient-state, PR welcome :-)

View File

@ -123,13 +123,13 @@
"dB" 'ensime-db-clear-break
"dC" 'ensime-db-clear-all-breaks
"dc" 'ensime-db-continue
"di" 'ensime-db-inspect-value-at-point
"di" 'ensime-db-step
"dn" 'ensime-db-next
"do" 'ensime-db-step-out
"dq" 'ensime-db-quit
"dr" 'ensime-db-run
"ds" 'ensime-db-step
"dt" 'ensime-db-backtrace
"dv" 'ensime-db-inspect-value-at-point
"ee" 'ensime-print-errors-at-point
"el" 'ensime-show-all-errors-and-warnings