Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devtooligan/Huffpoint
Create breakpoints for use with Foundry debugger -- https://book.getfoundry.sh/cheatcodes/breakpoint
https://github.com/devtooligan/Huffpoint
Last synced: about 2 months ago
JSON representation
Create breakpoints for use with Foundry debugger -- https://book.getfoundry.sh/cheatcodes/breakpoint
- Host: GitHub
- URL: https://github.com/devtooligan/Huffpoint
- Owner: devtooligan
- Created: 2023-08-26T21:57:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-31T02:40:31.000Z (about 1 year ago)
- Last Synced: 2024-11-16T06:05:01.527Z (about 2 months ago)
- Language: Solidity
- Size: 10.7 KB
- Stars: 34
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-huff - Huffpoint
README
# Huffpoint
Equivalent to [vm.breakpoint](https://book.getfoundry.sh/cheatcodes/breakpoint?highlight=breakpoi#breakpoint) in Foundry.
```
/// @notice Sets breakpoint(, true)
#define macro BREAKPOINT(mem_ptr, breakpoint_id)
``````
/// @notice Sets breakpoint(, )
#define macro SET_BREAKPOINT(mem_ptr, breakpoint_id, enabled)
``````
/// @notice Sets breakpoint("a", true)
#define macro BREAKPOINTA(mem_ptr)
``````
/// @notice Sets breakpoint("b", true)
#define macro BREAKPOINTB(mem_ptr)
```