Reenable callback on |break| instruction #216
This doesn't expose any local nor global variable information yet, so debugging capabilities are pretty limited. You can print which file and line the plugin is about to execute currently.
This is partly extracted from #51.
The text was updated successfully, but these errors were encountered:
Expose the file names of the source files.
To be able to set breakpoints we need to be able to get the cip of the function or line we want to break on.
Simplify the API to only allow one debug break handler for all plugins instead of maintaining different ones per runtime.
ISourcePawnEnvironment::EnableDebugBreak() has to be called before any plugins are loaded to have the call to the debug break handler compiled into the jitted code of the plugins. This is disabled by default, so it has no impact on performance.