Imported Upstream version 5.8.0.22

Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-10-19 20:04:20 +00:00
parent 5f4a27cc8a
commit 7d05485754
5020 changed files with 114082 additions and 186061 deletions

View File

@@ -78,6 +78,18 @@ For more details, or to test an individual project, see the [developer guide top
4. Set breakpoint appropriately
5. F5 (Debug)
### Debugging NETFX tests in Visual Studio
Once you've built the source code for netfx from the root (`build.cmd -framework:netfx`) follow these steps:
1. Build test project with the following parameters `msbuild /t:buildandtest /p:targetgroup=netfx /p:testdebugger=devenv.exe`. This will open Visual Studio with the runner as startup project and its corresponding arguments.
2. Open project properties and fill in the next information:
* Debugger Type -> Managed (v4.6, v4.5, v4.0)
* Environment -> you need to add an environment variable as follows:
* DEVPATH -> `<corefxpath>\bin\testhost\netfx-Windows_NT-Debug-x64\`
3. Set breakpoint appropriately
4. F5 (Debug)
For advanced debugging using WinDBG see [Debugging CoreFX on Windows](https://github.com/dotnet/corefx/blob/master/Documentation/debugging/windows-instructions.md)
### Notes