How to Enable Debugging for Subset

Document ID : KB000046122
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

This document will outline how to enable debugging for GTSubset.

Background:  

If you are experiencing any issues while using Subset and either want to get more information on why you are experiencing the issue or need to send log files to CA Support, enabling debugging is a good first step. This form of debugging requires you to launch Subset through a command prompt and cannot be done through the user interface.

Environment:  

GTSubset (Subset)- Subset is installed as part of the CA Test Data Manager (TDM) product.
Release versions of TDM 3.5 and above.

Instructions: 

Pre-requisites: Please exit out of the Subset application before starting.

  1. Go to the Subset directory folder. The default location for this is C:\Program Files (x86)\Grid-Tools\GTDatamaker 
  2. Open a command prompt from this window. One way to do this is to type in 'cmd' in front of the file path and hit 'Enter' on your keyboard.

    cmd.png

  3. Enter the command java -jar gtsubset.exe. This will launch Subset and record debugging information. 

    java cmd.png

  4. Select a database profile and click the 'Connect' button.

    subset db connection.png

  5. With the command prompt still open, recreate the issue you are experiencing.
  6. You should see a stack trace appear in the command prompt. This means you successfully enabled debugging. If you do not know how to fix the issue after analyzing the stack trace, then please record this information, and send it to support. The following steps will tell you how to accomplish this. 

    stack trace.PNG

  7. At the top of the command prompt window, right-click, select 'Edit' from the list.

    edit-mark-cmd.png

  8. Click on the 'Mark' option.
  9. You should be able to highlight the text in the command prompt. Select all of the text and hit 'Enter' on your keyboard. Now the information has been copied to your clipboard. 

    mark-highlight-enter.png

  10. Paste the text into a program like 'Notepad'.

    copy to notepad.PNG

  11. Attach this information to your support case or email the support engineer you are working with. 

Additional Information:

If you experience any further licensing issues, please open a support case on https://support.ca.com/irj/portal/newhome or call 1-800-225-5224.