Preparing Rogue Wave Stingray Objective Grid (C++) Controls for Testing

Applies to TestLeft 4.91, last modified on July 1, 2021

To test release versions of your Visual C++ applications with Rogue Wave Stingray Objective grid (C++) controls, we recommend that you rebuild the Objective Grid library to generate the required debug information.

These steps are required only for testing Objective Grid (C++) controls in Release configurations of Visual C++ applications. Testing Debug configurations does not require this setup.
  1. From the Start menu, launch Rogue Wave | Stingray Studio <version> | Objective Grid | Grid Build Wizard. Follow the wizard instructions to customize the Objective Grid library to your needs.

    The wizard will generate a makefile for building the Objective Grid library.

  2. In the <Stingray Studio>\Src\Grid\BkEndMak folder, locate the makefile named bldbackNN.mak, where NN corresponds to the Microsoft Visual Studio version used to develop the tested application. For example, the makefile to be used with Visual Studio 2010 (v. 10.0) is bldback10.mak.

  3. Open the makefile in a text editor.

  4. Find all lines containing the following text:

    RELDBG_CPP=/D "NDEBUG" /O1

    Replace them with:

    RELDBG_CPP=/D "NDEBUG" /O1 /Zi /Fd<Path_Name>.pdb

    The /Zi parameter instructs the compiler to generate debug information for the ObjectiveGrid library in Release configurations.

    The /Fd parameter specifies the name of the .pdb file to create.

  5. Find the line containing the following text:

    LINK32_DEBUG_FLAG=

    Replace it with:

    LINK32_DEBUG_FLAG=/debug

  6. Save the changes made to the makefile.

  7. Rebuild the Objective Grid library using the modified makefile.

After that, rebuild the tested application with the updated Objective Grid library. Remember to include debug information in the application as described in the following topics:

See Also

Preparing Visual C++ Applications for Testing

Highlight search results