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: 6 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-31T02:40:31.000Z (about 2 years ago)
- Last Synced: 2025-05-05T22:43:39.690Z (6 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)
```