Skip to content

Debugging

Jason Naylor edited this page Jul 18, 2018 · 3 revisions

Debug native code

In Windows, in Visual Studio 2017,

  1. Load the FieldWorks.csproj project into your solution.
  2. Load the native project (eg views.vcxproj) into your solution.
  3. Right-click the FieldWorks project and choose Properties.
  4. Click Debug. Select Enable native code debugging.

Debug Memory Corruption or suspected Buffer overflow problems

  1. In Windows download and install the Windows SDK
  2. Build FieldWorks
  3. From the output folder run gflags as follows gflags /p FieldWorks.exe /full to get exceptions thrown at the point of the memory error.
Clone this wiki locally