How to Enable Debugging for Subset
search cancel

How to Enable Debugging for Subset

book

Article ID: 46122

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

This document will outline how to enable debugging for GTSubset.

 

Environment

Release: GTSubset (Subset)- Subset is installed as part of the CA Test Data Manager (TDM) product.
All supported releases of Subset.

Cause

 

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.

Resolution

 

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.


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

    NOTE: to simplify the process (eliminating steps 6-10), you can redirect the output of the command line to write to a file, and upload the output file to the support case. To redirect the output run the command: java -jar GTSubset.exe > %TEMP%\subset.log 2>&1

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


  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. 


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


  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. 


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


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

Additional Information

 

If you experience any further issues, please open a support case on https://support.broadcom.com/ or call the number found at https://support.broadcom.com/contact-support.html

Attachments

1558711012737000046122_sktwi1f5rjvs16s2x.png get_app
1558711010918000046122_sktwi1f5rjvs16s2w.png get_app
1558711006213000046122_sktwi1f5rjvs16s2v.png get_app
1558711004112000046122_sktwi1f5rjvs16s2u.png get_app
1558711002292000046122_sktwi1f5rjvs16s2t.png get_app
1558711000423000046122_sktwi1f5rjvs16s2s.png get_app
1558710998223000046122_sktwi1f5rjvs16s2r.png get_app