Do I always have to instrument and run my application from the VB IDE?



Is it required to instrument and run applications from withinn the VB IDE?


Not necessarily. It depends on what kind of application that you want to profile. It is better to instrument and run it from inside VB IDE if you want to use a client/server application that is comprised of two executables. TrueTime can handle this easily because it gathers performance data when you run instrumented applications inside or outside of TrueTime. Complete the following steps to gather performance data for a client/server application.

1).Open the server project in Visual Basic.

2).Instrument the server project, but do not run the server.

3). Open the client project in Visual Basic.

4). Instrument the client project.

5). Run the client application. When the client starts the server, TrueTime displays an icon in the task bar indicating that the server is running and TrueTime is collecting session data.

6). When the server unloads, TrueTime asks you to save the server session file.

7). When you quit the client, TrueTime displays the session data for the client session. You can open the server session file to view the session data for both components simultaneously.

The Samples\Entrpris\Hello sample included with Visual Basic is a good example of a multiple executable client/server project.

Old KB# 11803
Comment List
Related Discussions