|
RTX applications can be debugged remotely, from a Target system, using the familiar Microsoft Visual Studio development environment on a Host system. This MiniTutorial will show how to debug an application remotely.
In this tutorial, we will use Visual Studio 2015.
Sections in this Topic:
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 (2013
/2015
)\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:
In this example, we'll create an RTSS application called RtssRemoteApp.
Configure the IntervalZero Remote Real-Time Debugger:
C:\Debug\Srtm.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:
You should see the Host/Target connection in the Visual Studio Remote Debugging Monitor dialog.