As part of addressing the issues in #12982, @vmoroz is working on catching up hermes-windows with the upstream changes. This includes trying to do so in a way that enables our various stable branches (>= 0.71) to consume this next version of hermes-windows.
Right now, RNW 0.71 works with the current version of hermes-windows, 0.1.18, and RNW 0.72 and above have the aforementioned debugging issues.
We want to actually verify the issues are fixed by Vladimir's work, i.e. that the new build will work with each stable branch, before we release the new version of hermes-windows. There may be some back and forth in this process as functionality may vary between different release branches.
### Tasks
- [ ] [0.71] Bump to the latest version of Hermes
- [ ] [0.72] Bump to the latest version of Hermes
- [ ] [0.73] Bump to the latest version of Hermes
- [ ] [0.74] Bump to the latest version of Hermes
- [ ] [main] Bump to the latest version of Hermes
Strategy
@vmoroz will create a Microsoft.JavaScript.Hermes nuget package with the updated code
For each of the the branches for the tasks listed above, prep by:
Have ready a new RNW Paper test app targeting that version of RNW
Make sure UseHermes is enabled in ExperimentalFeatures.props
Make sure the app is set to use UseDirectDebugger instead of UseWebDebugger in App.cpp
Update (or create) the NuGet.config file with a local folder set as a nuget feed
Update the app JS code to include a Button or something that can be explicitly invoked so there's a callback where variables are created and breakpoints can be set
Have built the app once (to save time)
Verify that you can attach a debugger (edge://inspect), set breakpoints in the callback mentioned above, and note what the current debugging experience looks like
When the drop is ready, put the nuget package in the local folder, then for each test app:
Build the app with logging, making sure that this new local version was used (rather than the version from NuGet.org)
Test the debugging experience again
Report back to @vmoroz if the stable branch works, doesn't work, new issues, etc.
Be ready for new drops, and/or to have to make code changes to the app's local copy of RNW
After it's been tested and we're in a good state, let @vmoroz publish a new official build
Use the task list above to create tasks and then PRs to update each stable branch with the new Hermes version + any changes you may have had to do to RNW code to make the new version work
As part of addressing the issues in #12982, @vmoroz is working on catching up hermes-windows with the upstream changes. This includes trying to do so in a way that enables our various stable branches (>= 0.71) to consume this next version of hermes-windows.
Right now, RNW 0.71 works with the current version of hermes-windows, 0.1.18, and RNW 0.72 and above have the aforementioned debugging issues.
We want to actually verify the issues are fixed by Vladimir's work, i.e. that the new build will work with each stable branch, before we release the new version of hermes-windows. There may be some back and forth in this process as functionality may vary between different release branches.
Strategy
UseDirectDebugger
instead ofUseWebDebugger
in App.cpp