Debugging - sillsdev/FwDocumentation GitHub Wiki
Debug native code
In Windows, in Visual Studio 2017,
- Load the FieldWorks.csproj project into your solution.
- Load the native project (eg views.vcxproj) into your solution.
- Right-click the FieldWorks project and choose Properties.
- Click Debug. Select Enable native code debugging.
Debug Memory Corruption or suspected Buffer overflow problems
- In Windows download and install the Windows SDK
- Build FieldWorks
- From the output folder run gflags as follows
gflags /p FieldWorks.exe /fullto get exceptions thrown at the point of the memory error.