After modifying Cascadia project to debug in "Native Only" mode, I come across this exception, when clicking dropdown menu (to open a new tab in the terminal):

File: src/cascadia/WindowsTerminal/main.cpp
Win Version: 10.0.18362.86
VS19: 16.0.3
I would like to investigate if anyone can point me in the right direction.
This seems to only happen when Microsoft.UI.Xaml is loaded into the process. I'd like to hold on to it to make sure that it's not some weird prerelease bug we're hitting.
I'll assign it to myself, to do two things:
I hit an abort() similar to this in debug with outdated profiles.json after the starting directory changes were made and rendered my previous settings invalid crashing the app or causing an abort(). Dont know if this is related but thought it might give some direction into investigating it.
I deleted my profiles.json file from %LOCALAPPDATA%packages\Microsoft.WindowsDevTerminal_8wekyb3d8bbwe\RoamingState and allowed it to be regenerated and my build stopped hitting the abort() without a rebuild needed.
The interesting part is that I only get this exception thrown when I'm _debugging_ Terminal, not when running it from Start.
:tada:This issue was addressed in #3027, which has now been successfully released as Windows Terminal Preview v0.6.2951.0.:tada:
Handy links: