-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
info c <exp>
when <exp> doesn't return a constant
Currently, the command `info c <exp>` crashes the debugger when <exp>` is not a constant because it raises an exception. This patch fixes it by changing it to `puts`. This commit also adds 2 test cases for the `info c <exp>` usage. Co-authored-by: Aiden Storey <git@storey.dev>
- Loading branch information
1 parent
24fc36c
commit f168b75
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters