INtime SDK Help
INtime Debugging Tools
INtime SDK v6 > Using INtime Software > INtime Debugging Tools

Debugging tools

INtime software provides tools for debugging RT applications.

The INtime development environment includes these debugging tools:

Remote debugging capability (INtime For Windows) - winntxproxy.exe

You can use your development system to debug an application on a separate runtime system with no development tools installed on it. You need a network connection between the systems to do this.

Load winntxproxy.exe on the target system to allow an NTX connection to be established between the two systems. Once this connection is established you can use your development tools to load and debug applications from the development host on the target.  Winntxproxy runs on the target host as a service or as a console application. Running WinNtxProxy.exe as a service allows you to setup an enduring connection that will reconnect should you need to reboot.

Setting up the connection on the Target host:

On the target host, execute the winntxproxy.exe program. If you are installing winntxproxy as a service, you will also need to specify the -install command-line option.

Setting up the connection on the Development host:

Now when you start a tool such as Intex, you are offered a connection to the node you just created.

To configure a Visual Studio INtime project to debug on the remote system, you need to change the target node in the property sheet for the INtime project (represented by the INtime icon in the Solution Explorer window).

WinNtxProxy usage:

You can start winntxproxy in one of the following ways:

Note: If you have difficulty connecting to a winntxproxy node, make sure the firewall is configured to open UDP port 2112, which is required for NTX access. The product installer opens this port by default.

Redirect console input/output - StealConsoleIo.exe

Console I/O to and from an application running on an INtime Distributed RTOS system may be redirected to a console window on a remote development system. It is also possible to redirect console I/O from an application running on an INtime for Windows host with the winntxproxy service running (see Remote Debugging, above). This is achieved by establishing a "host relationship" between the application platform and the SDK host, such that the SDK host replaces some of the services on behalf of the application platform.

You can use stealconsoleio.exe to establish or remove a host relationship with a Distributed RTOS node. Once that relationship is formed, console I/O and file I/O is sent to the Windows host. Applications that have already opened files and/or stdin/stdout connections will continue to use them. Any application starting after the host relationship has been established will use the new I/O connection mechanisms. Registry and clock sync services also change to rely on the newly registered host.

When a winntxproxy node is selected with which to register as a host, the I/O connection is changed differently. File I/O remains as it was previously using the INtime I/O Service. Stdin/Stdout I/O is rerouted through the host system. stealconsoleio.exe does not function with WinNtxProxy nodes.

StealConsoleIo.exe replaces the previous MakeINtimeHost.exe utility. StealConsoleIo.exe only interacts with INtime 6 systems. The previous MakeINtimeHost.exe utility is still included for interaction with older target systems.

Usage:

StealConsoleIo: opens the node selection dialog and will attempt to register as host with the selected node

StealConsoleIo <nodename>: attempts to register as host with node: nodename

StealConsoleIo -u: opens the node selection dialog and attempts to unregister the selected node

StealConsoleIo –u <nodename>: attempts to unregister as host with node: nodename

See Also