Skip to content

Commit 9acb310

Browse files
Update documentation
1 parent a19c8c0 commit 9acb310

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,8 @@ The `<…>` notation means the argument.
675675
* Show current frame's source code from the line <start> to <end> if given.
676676
* `whereami`
677677
* Show the current frame with source code.
678+
* `@`
679+
* Same as `whereami`.
678680
* `edit`
679681
* Open the current file on the editor (use `EDITOR` environment variable).
680682
* Note that edited file will not be reloaded.

lib/debug/session.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,8 @@ def register_default_command
739739

740740
# * `whereami`
741741
# * Show the current frame with source code.
742+
# * `@`
743+
# * Same as `whereami`.
742744
register_command 'whereami', '@', unsafe: false do
743745
request_tc [:show, :whereami]
744746
end

0 commit comments

Comments
 (0)