-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix VS debugger tests issues (#98783)
* Fix VS debugger tests issues This change fixes three issues I have found in the debugger related code after I was finally able to run the VS debugger tests with .NET 9. These are the fixed issues: * The old EH for hardware exceptions puts incorrectly the exception location adjusted by -1 to the exception stack trace. The new EH didn't have this problem, but VS expects that to be the case, so I have added a compensation for it until the old EH is gone or until VS can be changed to support both cases. * Exception interception was not working correctly for cases when the exception needed to be propagated over native runtime frames. After catching the rethrown SEH / PAL_SEHException and also in ProcessCLRException for Windows, the interception needs to be detected and instead of calling the DispatchManagedException, we need to call the Ex.RhUnwindAndIntercept again. * The first chance exception debugger notification was sometimes sent before even the first stack frame was added to the exception stack trace. That has broken quite a number of VS tests. * Fix missing ifdef to fix x86 build * Fix crossdac build
- Loading branch information
Showing
6 changed files
with
165 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters