-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NativeAOT Populate source link information in the final PDB #81415
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsCurrently the NativeAOT compiler uses the source PDBs to produce one final PDB for the app, but it doesn't propagate source link information to the final PDB. This makes debugging into anything but the app's code a degraded experience. This issue tracks: Per @MichalStrehovsky:
|
@MichalStrehovsky Can you take a look at this? Feedback has pushed this one up in priority. |
Do you have any more details on the feedback - what platform is this? I think we can only support this on Windows out of the box. We'd likely need to build a native debugger plugin for Linux. |
Yup, Windows-only for now. We can come back to Linux/Mac later. |
Currently the NativeAOT compiler uses the source PDBs to produce one final PDB for the app, but it doesn't propagate source link information to the final PDB. This makes debugging into anything but the app's code a degraded experience.
This issue tracks:
[ ] - Investigate if there's some mechanism for source-link on Linux and macOS
[ ] - Implement propagating source-link at least on Windows
Per @MichalStrehovsky:
I tried looking into that 3 years ago and it didn’t look too complicated. We need to extract the source link information json from the individual compilands, combine the json, write out the json to a file and pass it to link.exe. At least on Windows.
The text was updated successfully, but these errors were encountered: