Skip to content

Merge 'main' into 'release_mdd'#1222

Merged
WardenGnaw merged 11 commits intorelease_mddfrom
main
Sep 17, 2021
Merged

Merge 'main' into 'release_mdd'#1222
WardenGnaw merged 11 commits intorelease_mddfrom
main

Conversation

@WardenGnaw
Copy link
Member

No description provided.

WardenGnaw and others added 11 commits August 31, 2021 13:39
* Fix LogPoint Issue

Customer reported in v1.6.0 that LogPoints stopped working.
This was due to IDebugBreakpointEvent2.EnumBreakpoints returning the
same IEnumDebugBoundBreakpoints2.

The fix was to save IDebugBoundBreakpoint2[] in the event and return a
new IEnumDebugBoundBreakpoints2 object per call.

Added a test for logpoints and fixed up ConsoleEvent to be OutputEvent
since thats what it should actually be.

Added flag IgnoreResponseOrder to allow looking at historical responses to find out if the expected response occurred before.
* Normalize Building MIEngine for VS/VSCode

This PR adds ./eng/Scripts that can be used to build MIDebugEngine /
MIDebugEngine-Unix on Windows/macOS/Linux similar to how the CI does it.

CI-Test.[cmd|ps1] is not added because setup is a bit more complicated
than linux/macOS.
* Fix PlatformUtilities methods

Use 'RuntimeInformation.IsOSPlatform' instead of
'Environment.OSVersion.Platform'

Environment.OSVersion.Platform on .NET 5 is returning 'Unix' for macOS
which is causing a bunch of our cases to not work.

Tested RuntimeInformation.IsOSPlatform(OSPlatform.Windows) on net472 on
Windows and it returns true.

* Disable EnvironmentTest w/ spaces

darwin-debug does not like environment with spaces, and it is sent by lldb-mi.
Needs to be fixed externally.

* Disable more tests
* Move to 1ES pools
* Add support for debugging macOS app bundles

This PR adds support for debugging app bundles on macOS.

LLDB understands how to handle app bundles when provided to
-file-exec-and-symbols.

Reference:
./lldb-mi
(gdb)
-file-exec-and-symbols /Applications/VLC.app
^done
(gdb)
=library-loaded,id="/Applications/VLC.app/Contents/MacOS/VLC",target-name="/Applications/VLC.app/Contents/MacOS/VLC",host-name="/Applications/VLC.app/Contents/MacOS/VLC",symbols-loaded="0",loaded_addr="-",size="20480"

* Add macOS App Test

Add XCodeBuild Compiler

Add support for running tests

Missing actual test

Move to correct location

* Address PR issues
@WardenGnaw WardenGnaw merged commit 20323a7 into release_mdd Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants