This topic describes how existing INtime projects may be upgraded to use a more recent Visual Studio product and its debugger. INtime software continues to support the older Visual Studio products, but the use of newer Visual Studio versions allows you to take advantage of the INtime debugging features of the product and also provides access to more advanced Visual Studio technology.
When you open an existing project (.dsp or .dsw file for Visual Studio 6.0, or .sln for later Visual Studio versions) in a newer Visual Studio version, you are asked whether you want to upgrade; if you refuse, the workspace is not opened. If you agree, Visual Studio modifies your file set and you now have these files:
Filename | Contents |
---|---|
proj.c | Main source files |
proj.sln | Solution properties |
proj.suo | Solution properties |
proj.intp | INtime project properties |
proj.vcproj (upto VS 2008) proc.vcxproj (starting with VS 2010) |
C/C++ project properties |
The solution file, proj.sln, contains solution properties (a solution is a container for one or more projects). There can be different types of projects, but for INtime we are interested only in the C/C++ project type, which is identified by the file extension .vcproj or vcxproj; a C/C++ project file contains compiler and linker settings.
If for any reason upgrading fails, you can proceed as follows:
A solution may contain more than one project, each of which can be one of many types. In the case of an INtime application, there will be one or more projects that produce an INtime executable or library; we will refer to these as the INtime projects.
When you have upgraded from Visual Studio 6.0 or have created the project as a Windows project, you need to convert the project to an .intp project. If you are not sure if this is necessary, check if the Solution Explorer window in Visual Studio shows the INtime icon for your INtime project; if it does, you can skip this step.
An .intp project encapsulates a C/C++ project and contains properties that are INtime specific; these properties are contained in a file with the .intp extension. When Visual Studio reads an .intp project, it provides access to features specific to INtime projects, which includes the integrated INtime debugger. Before leading you there, let us see how you convert a project.
Open the solution. Load the macros provided by INtime as follows (loading the macro project needs to be done only once):
Progress messages display in the Output window, located at the bottom of Visual Studio. You are then prompted to save files.
Filename | Contents |
---|---|
proj.c | Main source files |
proj.sln | Solution properties |
proj.suo | Solution properties |
proj.intp | INtime project properties |
proj.vcproj | Project properties |
Open the solution. Select the INtime menu, "Convert solution to INtime" menu item.
Progress messages display in the Output window, located at the bottom of Visual Studio. You are then prompted to save files. Click Yes to save files.
You now have a solution with one or more .intp projects identified by an INtime icon; each .intp project contains a C/C++ project. Your set of files now looks like this:
Filename | Contents |
---|---|
proj.c | Main source files |
proj.sln | Solution properties |
proj.suo | Solution properties |
proj.intp | INtime project properties |
proj.vcproj or proj.vcxroj | Project properties |
The conversion to .intp project makes some assumptions about projects that can be converted to INtime projects:
There is a second macro ToIntpSelected or "Convert project to INtime" menu item that only converts the selected project.
If for any reason you choose not to use the conversion macro but still want to use the integrated debugger, you can proceed as described above in "What if upgrading did not work?"
An .intp project has an additional set of options: when you right-click the C/C++ project and select properties, you see the compiler and linker settings, just like before. Right clicking the .intp project and selecting properties shows two pages (there are also menu items to achieve the same results):
The pool maximum parameter on the INtime settings page is the same as the Heap reserve size on the Linker/System page of the VC project properties.
All of these steps had to be done only once. From now on you can use the integrated INtime debugger, just like you are used to doing so with Windows applications:
Note that the integrated debugger will refuse to debug an INtime RSL you must select a project that represents a .RTA file.