Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you have everything set up correctly and have successfully built your module(s) then running the appropriate application, either the WinGate service or the WinGate Management Console should load your module(s). You can check the state of your module(s) from the Modules panel in the WinGate Management Console. 

Running in the debugger

To

...

run an engine (WinGate service) module in the debugger

Set up your development environment to run WinGate.exe with the command line argument -force9x. In Visual Studio 2010 these settings can be found Project Properties -> Configuration Properties -> Debugging. Set Command to the path to WinGate.exe  which is typically c:\Program Files (x86)\WinGate\WinGate.exe and set Command Arguments to -force9x.

By default WinGate and the WinGate Mangement Console will load the Release build of your module. If you wish to run load the debug Debug version of your plugin from within the IDE then specify -debug as an additional command argument.

To

...

run a UI (WinGate Management Console) module in the debugger

Set the Command option to the GateKeeper executable (e.g c:\Program Files (x86)\WinGate\GateKeeper.exe) and specify -debug if you which to run the debug version of your module.

...