From 12fb0d5393907b41667600852f2032bcee5dcfb9 Mon Sep 17 00:00:00 2001 From: Nick Kamal Date: Tue, 19 Nov 2024 14:28:35 -0500 Subject: [PATCH] Feature request: Print actual String arguments with Xtrace part 1 The changes reflect the feature request #16416. Instead of printing the memory address for string arguments, print the actual string at max of 32 characters. There will be subsequent PRs for cmdline option for string length (Part 2) and tests (Part 3). Signed-off-by: Nick Kamal nick.kamal@ibm.com The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Closes: #16416 Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal Print actual String arguments with Xtrace part 1 The changes reflect the feature request #16416. Print the actual string instead of address at max of 32 characters. Subsequent PRs: cmdline option for length (Part 2) and tests (Part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 following #20641 Adding cmdline option to specify string argument length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 1 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen=invalid input" There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 3 Signed-off-by: Nick Kamal cmdline tests for -Xtrace:methodstrarglen Closes: #16416 Signed-off-by: Nick Kamal Update xtraceTests.xml Feature request: Print actual String arguments with Xtrace part 1 The changes reflect the feature request #16416. Instead of printing the memory address for string arguments, print the actual string at max of 32 characters. There will be subsequent PRs for cmdline option for string length (Part 2) and tests (Part 3). Signed-off-by: Nick Kamal nick.kamal@ibm.com The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Closes: #16416 Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal Print actual String arguments with Xtrace part 1 The changes reflect the feature request #16416. Print the actual string instead of address at max of 32 characters. Subsequent PRs: cmdline option for length (Part 2) and tests (Part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 following #20641 Adding cmdline option to specify string argument length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 1 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen=invalid input" There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 3 Signed-off-by: Nick Kamal cmdline tests for -Xtrace:methodstrarglen Closes: #16416 Signed-off-by: Nick Kamal Update xtraceTests.xml Revert "Update xtraceTests.xml" This reverts commit a02170cabbe1e92f0fea0b67574599402a275e1d. Revert "cmdline tests for -Xtrace:methodstrarglen" This reverts commit f1a4e9099850af8ace1ca7ce01de0324104e92eb. Revert "The changes reflect the feature request #16416 - part 3" This reverts commit 44209dbd62a2fdb2a269a2efe311f9b350197e1b. Revert "The changes reflect the feature request #16416 - part 2 following #20641" This reverts commit 81ebf3b8b89f85c4e6213ee100f4c1f8fb1d9a58. Revert "Print actual String arguments with Xtrace part 1" This reverts commit c5ca003a138a50500b99de08f9e2dcf9a86b9ab5. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 5fed7b4b531299f55e613433d67e87e9b9e682f6. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 9d207fb15c548eb81ec1064c65c52814eba61825. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 1d2c8287c3a61f1919148268ee0a5ecc692aabbc. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 582d9676146fe5a222320dcfdefcabd27655ff0f. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 148a6dede3e1b1c2bc9c0f4e42970e19a2429971. Revert "Feature request: Print actual String arguments with Xtrace part 1" This reverts commit 820e22e4699760dcc54f581901fb4a631c091483. Feature request: Print actual String arguments with Xtrace part 1 The changes reflect the feature request #16416. Instead of printing the memory address for string arguments, print the actual string at max of 32 characters. There will be subsequent PRs for cmdline option for string length (Part 2) and tests (Part 3). Signed-off-by: Nick Kamal nick.kamal@ibm.com The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Closes: #16416 Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 of #20641 Adding cmdline option to specify string length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 0 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen= " There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal Print actual String arguments with Xtrace part 1 The changes reflect the feature request #16416. Print the actual string instead of address at max of 32 characters. Subsequent PRs: cmdline option for length (Part 2) and tests (Part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 2 following #20641 Adding cmdline option to specify string argument length to be printed. -Xtrace:methodstrarglen=[1-128] methodStrArgLen takes an unsigned integer value from 1 to 128 If no methodStrArgLen is specified, or is set to 0, the printed length is the default value of 32. Other invalid inputs result in the following: "Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 1 to 128 Trace option unrecognized: -Xtrace:methodStrArgLen Error processing trace option: -Xtrace:methodStrArgLen=invalid input" There will be subsequent PRs for tests (part 3). Signed-off-by: Nick Kamal The changes reflect the feature request #16416 - part 3 Signed-off-by: Nick Kamal cmdline tests for -Xtrace:methodstrarglen Closes: #16416 Signed-off-by: Nick Kamal Update xtraceTests.xml Revert "Update xtraceTests.xml" This reverts commit a02170cabbe1e92f0fea0b67574599402a275e1d. Revert "cmdline tests for -Xtrace:methodstrarglen" This reverts commit f1a4e9099850af8ace1ca7ce01de0324104e92eb. Revert "The changes reflect the feature request #16416 - part 3" This reverts commit 44209dbd62a2fdb2a269a2efe311f9b350197e1b. Revert "The changes reflect the feature request #16416 - part 2 following #20641" This reverts commit 81ebf3b8b89f85c4e6213ee100f4c1f8fb1d9a58. Revert "Print actual String arguments with Xtrace part 1" This reverts commit c5ca003a138a50500b99de08f9e2dcf9a86b9ab5. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 5fed7b4b531299f55e613433d67e87e9b9e682f6. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 9d207fb15c548eb81ec1064c65c52814eba61825. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 1d2c8287c3a61f1919148268ee0a5ecc692aabbc. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 582d9676146fe5a222320dcfdefcabd27655ff0f. Revert "The changes reflect the feature request #16416 - part 2 of #20641" This reverts commit 148a6dede3e1b1c2bc9c0f4e42970e19a2429971. Revert "Feature request: Print actual String arguments with Xtrace part 1" This reverts commit 820e22e4699760dcc54f581901fb4a631c091483.