Versions Compared

Key

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

...

In order to debug the RTCTools code, open the file where you want to set the breakpoint and add it. If you're not sure where to start, a logical choice is to open <rtctools>\oss\RTCTools\src\rtcToolsRuntime.cpp and add the breakpoint in its constructor.

Make

...

sure you start in the right configuration (32 bits):

If you want to debug from within the gui, right click the startup project of the application (by default this is DeltaShell.NGHS.IO),  select properties, debug tab, and check the option 'Start external program', which should be

...

  • check if the engine is not running in a remote process (RealTimeControl.RunEngineRemote) in the NGHS1.1-code
  • check if the correct files are present in (1), but also in <nghs1.1>\bin\Debug\plugins\DeltaShell.Plugins.DelftModels.RealTimeControl\rtc_kernel\. The contents of these directories should be identical.
  • check if the correct files are present in (2), but also in <nghs1.1>\bin\Debug\plugins\DeltaShell.Plugins.DelftModels.RealTimeControl\. Files with the same name that exist in both directories should be identical.
  • check if all the dependencies of RTCTools_OpenMI.dll are present by opening the file in the 32bit version of DependencyWalker. If dll's are missng, copy them next to the RTCTools_OpenMI.dll
  • In resharper's unit test settings, make sure the option 'Shadow-copy assemblies being tested' is turned off.

...