Debug Info Parser

Table of Contents

Introduction

The debug_info_parser.exe parses the debug info data.

Debug Info Parser Input Arguments

debug_info_parser.exe parse [-h] --mem_dump MEM_DUMP [--out_json OUT_JSON] [--verbose] [--num_sched_rec NUM_SCHED_REC]`[--max_num_est_rec MAX_NUM_EST_REC] 
                            [--num_conn_term_rec NUM_CONN_TERM_REC] [--num_err_rec NUM_ERR_REC]
Argument Description Type Default Value
--mem_dump Path to memory dump binary file Mandatory
--out_json Path to json file where to save parsed data Optional Path to memory dump binary file
--verbose Show debug messages Optional none
--num_sched_rec Must match the DBGINF_SCHED_MAX_NUM_OF_RECORDS define value Optional 10
--max_num_est_rec Must match the DBGINF_CONN_MAX_NUM_OF_EST_RECORDS define value Optional 1
--num_conn_term_rec Must match the DBGINF_CONN_MAX_NUM_OF_TERM_RECORDS define value Optional 4
--num_conn_term_rec Must match the BGINF_ERROR_MAX_NUM_OF_ERROR_RECORDS define value Optional 11

Note: All unused optional arguments will be set to their default values.

Usage Example

Example 1: Using all default arguments

Usage

debug_info_parser.exe parse --mem_dump C:\debugInfo\debugInfo_data
  1. The output json file will be saved in the same directory as the mem_dump_binary file.
  2. The data is parsed for:
    • 10 scheduler records
    • 1 connection establishment record
    • 4 connection terminated records
    • 11 error records

Expected Output

Parsing general structure
Parsing scheduler domain structure
Parsing connection domain structure
Parsing error domain structure
Parsed data will saved into : C:\debugInfo\debugInfo_data.json

Example 2: Using custom arguments

Usage

debug_info_parser.exe parse --mem_dump C:\debugInfo\debugInfo_data --out_json C:\debugInfo\debugInfo_out\debugInfo_outData.json --max_num_est_rec 4
  1. The output json file will be saved to C:\debugInfo\debugInfo_out\debugInfo_outData.json.
  2. Set max number of connections to 4.
  3. The data is parsed for:
    • 10 scheduler records
    • 4 connection establishment records
    • 4 connection terminated records
    • 11 error records

Expected Output

Parsing general structure
Parsing scheduler domain structure
Parsing connection domain structure
Parsing error domain structure
Parsed data will saved into : C:\debugInfo\debugInfo_out\debugInfo_outData.json