Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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)
```