Using Rational Test Real Time you can test(or develop) plenty of embedded applications . Now I am going to tell how to make a start with this amazing tool. For this I am using Windows XP SP2, Rational Test Real Time 188.8.131.52 , Microsoft Visual Studio 6(you can use other versions also but i am using this version). Its better to install VS6 first then RTRT. Before starting the RTRT you have to set some environment variables in windowsxp.
Only in user Variables.
include D:\Program Files\Microsoft Visual Studio\VC98\atl\include;
D:\Program Files\Microsoft Visual Studio\VC98\mfc\include;D:\Program Files\Microsoft Visual Studio\VC98\include
lib D:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;D:\Program Files\Microsoft Visual Studio\VC98\lib
path D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin
This is the Home screen of RTRT:
I am using a example for the basic , On the main screen click on Examples and then click on add.rtp(rtp is the profile name of rtrt). After this on the right side you will see project explorer in which you will have your source code file(add.c) and test script file(add.ptu)
Don`t forget to select the project configurations(Project->Configurations->Activate) as Visual6.0
Now Right click on the project and select build.
you will see the reports of the code generated by the tool.
Runtime Tracing(using Sequence Diagram)
Now I am changing my code to show you the memory leak
Runtime tracing after changing the code
Memory Profiling after the memory leak detection(you can go to the source code by clicking the blue link. This one of the best feature of RTRT)
This is the basic example of the RTRT. If you want to test/develop for other embedded devices you have to configure the target deployment port.