|
This section describes the steps necessary for setting up a target PC and a host PC for debugging RTSS applications with Visual Studio.
Sections in this Topic:
For a more comprehensive example of debugging a RTSS application, see MiniTutorial: Debugging Applications in Visual Studio.
Setup of the Target system requires the following steps:
Install the Remote Debugger:
Install the Visual Studio 2015/2013 C Runtime:
Install the RTX Runtime:
Start the Subsystem:
Copy/Paste Remote Debugging Files:
C:\Program Files\IntervalZero\RTX\DebuggerExtensions
.RtBaseDmx86.dll
RtBaseDmUtilx86.dll
C:\Program Files\Microsoft Visual Studio (2015/2013
)\Common7\IDE\Remote Debugger\x86
, and then paste the two files into that folder.Launch the Visual Studio Remote Debugger:
Create or open the project in Visual Studio:
Select the IntervalZero Remote Real-Time Debugger:
C:\Debug\RtssRemoteApp.rtss
.NOTE: If the Remote Server Name you provide is invalid, the following error is encountered: The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. More appropriately, the Visual Studio Remote Debugger service on the target computer cannot connect back to this computer. The debugger is unable to resolve the specified computer name.
IMPORTANT! The version of the Visual Studio Remote Tools installed on the Target system must exactly match the Visual Studio version on the Local system (the system running the debugger).
Start Debugging:
If there are any problems connecting the host and target system:
NOTE: While remote debugging, if the connection is lost, Visual Studio may close and restart.
For a more comprehensive example of debugging a RTSS application, see MiniTutorial: Debugging Applications in Visual Studio.