microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.33k stars 1.14k forks source link

Learn and Document Debugging RNW Apps in WinDbg #11196

Open chiaramooney opened 1 year ago

chiaramooney commented 1 year ago

Expand on Chris' investigation of debugging a blank screen RNW app in Release via WinDbg.

Can we get a list of modules by name that have thrown exceptions? Can we get information on what those exceptions are, or where in the module's code they have taken place?

We should figure out how to get this information via WinDbg and add to the existing document we have on debugging RNW apps with WinDbg. This way developers can follow the steps to get more information.

Long term we could create a WinDbg extension that runs the steps automatically and spits out data.

chrisglein commented 1 year ago

One resource for now: https://github.com/microsoft/react-native-windows/wiki/Getting-a-JS-callstack-in-the-debugger