Skip to content

Commit

Permalink
Feature request: Print actual String arguments with Xtrace part 1
Browse files Browse the repository at this point in the history
The changes reflect the feature request eclipse-openj9#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 [email protected]

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Closes: eclipse-openj9#16416
Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

Print actual String arguments with Xtrace part 1

The changes reflect the feature request eclipse-openj9#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 <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 following eclipse-openj9#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 <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 3

Signed-off-by: Nick Kamal <[email protected]>

cmdline tests for -Xtrace:methodstrarglen

Closes: eclipse-openj9#16416
Signed-off-by: Nick Kamal <[email protected]>

Update xtraceTests.xml

Feature request: Print actual String arguments with Xtrace part 1

The changes reflect the feature request eclipse-openj9#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 [email protected]

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Closes: eclipse-openj9#16416
Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

Print actual String arguments with Xtrace part 1

The changes reflect the feature request eclipse-openj9#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 <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 following eclipse-openj9#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 <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 3

Signed-off-by: Nick Kamal <[email protected]>

cmdline tests for -Xtrace:methodstrarglen

Closes: eclipse-openj9#16416
Signed-off-by: Nick Kamal <[email protected]>

Update xtraceTests.xml

Revert "Update xtraceTests.xml"

This reverts commit a02170c.

Revert "cmdline tests for -Xtrace:methodstrarglen"

This reverts commit f1a4e90.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 3"

This reverts commit 44209db.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 following eclipse-openj9#20641"

This reverts commit 81ebf3b.

Revert "Print actual String arguments with Xtrace part 1"

This reverts commit c5ca003.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 5fed7b4.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 9d207fb.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 1d2c828.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 582d967.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 148a6de.

Revert "Feature request: Print actual String arguments with Xtrace part 1"

This reverts commit 820e22e.

Feature request: Print actual String arguments with Xtrace part 1

The changes reflect the feature request eclipse-openj9#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 [email protected]

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Closes: eclipse-openj9#16416
Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#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=<invalid input>
"

There will be subsequent PRs for tests (part 3).

Signed-off-by: Nick Kamal <[email protected]>

Print actual String arguments with Xtrace part 1

The changes reflect the feature request eclipse-openj9#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 <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 2 following eclipse-openj9#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 <[email protected]>

The changes reflect the feature request eclipse-openj9#16416 - part 3

Signed-off-by: Nick Kamal <[email protected]>

cmdline tests for -Xtrace:methodstrarglen

Closes: eclipse-openj9#16416
Signed-off-by: Nick Kamal <[email protected]>

Update xtraceTests.xml

Revert "Update xtraceTests.xml"

This reverts commit a02170c.

Revert "cmdline tests for -Xtrace:methodstrarglen"

This reverts commit f1a4e90.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 3"

This reverts commit 44209db.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 following eclipse-openj9#20641"

This reverts commit 81ebf3b.

Revert "Print actual String arguments with Xtrace part 1"

This reverts commit c5ca003.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 5fed7b4.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 9d207fb.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 1d2c828.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 582d967.

Revert "The changes reflect the feature request eclipse-openj9#16416 - part 2 of eclipse-openj9#20641"

This reverts commit 148a6de.

Revert "Feature request: Print actual String arguments with Xtrace part 1"

This reverts commit 820e22e.
  • Loading branch information
h3110n3rv3 committed Dec 17, 2024
1 parent d7450f0 commit 12fb0d5
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 12fb0d5

Please sign in to comment.