Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Only regenerate outdated files of the debug datapack #84

Open
Adrodoc opened this issue Jan 30, 2023 · 0 comments
Open

Only regenerate outdated files of the debug datapack #84

Adrodoc opened this issue Jan 30, 2023 · 0 comments

Comments

@Adrodoc
Copy link
Member

Adrodoc commented Jan 30, 2023

Currently the whole debug datapack is regenerated for any change to a function or breakpoint. This is especially bad because stepping dynamically adds and removes breakpoints, causing a regeneration each time.

When breakpoints are changed, we only need to regenerate the files of the function those breakpoints are in and resume_self.

When a function is changed we need to regenerate the files of that function and if the call tree changes also the return functions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant