Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@robertoaloi
Copy link
Contributor

As part of the EDB debugger, we want to make sure that the debugger works even in presence of mocks.

For this, we added two functions to the EDB server to allow "module substitution".

A mocking library such as meck would need to invoke these two functions during initialization/termination, as showcased in this PR which was originally designed by @jcpetruzza and @agastyabahl.

If the direct reference to edb_server is not acceptable, we can use an env variable or equivalent approach to configure the "hook".

@eproxus
Copy link
Owner

eproxus commented Oct 9, 2025

@robertoaloi Looks good! Can you rebase on the latest master? I bumped the supported Erlang versions to solve the build issues.

@eproxus eproxus merged commit 09fcb39 into eproxus:master Oct 9, 2025
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants