Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To:# OData WebApi v7 for aspnet webapi supported
OData AspNet WebApi V7# OData Webapi for Webapi supported
OData AspNet WebApi V6
If you want to debug OData Lib, WebAPI, Restier source, open DEBUG -> Options and Settings in VS, configure below things in General tab:
- Uncheck
Enable Just My Code (Managed only). - Uncheck
Enable .NET Framework source stepping. - One can find the source code for particular releases at https://github.com/OData/WebApi/tags. You can use these source files to properly step through your debugging session.
- Make sure
Enable Source Link supportis checked.
Setup your symbol source in Symbols tab:
- Check
Microsoft Symbol Servers.- For versions of OData below 6.x, use the following
- Add location:
https://srv.symbolsource.org/pdb/Public(For preview/public releases in nuget.org). - Add location:
https://srv.symbolsource.org/pdb/MyGet(For nightly build, and preview releases in myget.org).
- Add location:
- For versions of OData 6.x and above, use the following
- Add location:
https://nuget.smbsrc.net/ - To check for the existence of the symbols for your particular version, you can run the following command using NuGet.exe:
nuget.exe list <namespace> -AllVersion -source https://nuget.smbsrc.net/. (Example:nuget.exe list Microsoft.AspNet.OData -AllVersion -source https://nuget.smbsrc.net/)
- Add location:
- For versions of OData below 6.x, use the following
- Set the cache symbols directory in your, the path should be as short as it can be.
Turn on the CLR first change exception to do a quick debug, open DEBUG -> Exceptions in VS, check the Common Language Runtime Exceptions.