-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(debugger): rewrite draw code (#6522)
* chore: enable unreachable_pub * chore: use Debugger::builder() * test: add a simple debuggable test * refactor: use let-else to reduce indentation * fix: debugger panic handler * test: update debugger test * fix: solc artifact absolute path * refactor: src_text * refactor: add a wrapper for source lines * feat: minimum terminal size * refactor: rest of the draw functions * chore: explain panic hook * chore: remove whitespace hack * chore: clippy
- Loading branch information
Showing
23 changed files
with
711 additions
and
614 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
[alias] | ||
cheats = "test -p foundry-cheatcodes-spec --features schema tests::" | ||
test-debugger = "test -p forge --test cli manual_debug_setup -- --include-ignored --nocapture" | ||
|
||
# Increase the stack size to 10MB for Windows targets, which is in line with Linux | ||
# (whereas default for Windows is 1MB). | ||
[target.x86_64-pc-windows-msvc] | ||
rustflags = [ | ||
# Increases the stack size to 10MB, which is | ||
# in line with Linux (whereas default for Windows is 1MB) | ||
"-Clink-arg=/STACK:10000000", | ||
] | ||
rustflags = ["-Clink-arg=/STACK:10000000"] | ||
|
||
[target.i686-pc-windows-msvc] | ||
rustflags = [ | ||
# Increases the stack size to 10MB, which is | ||
# in line with Linux (whereas default for Windows is 1MB) | ||
"-Clink-arg=/STACK:10000000", | ||
] | ||
rustflags = ["-Clink-arg=/STACK:10000000"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.