-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-17457 Add instructions for debugging java services #9971
Conversation
https://track.hpccsystems.com/browse/HPCC-17457 |
@afishbeck Hi Tony please review the change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayx minor wording comment
jvmoptions=-XX:-UsePerfData -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=2000 | ||
And comment out the original jvmoptions line: | ||
#jvmoptions=-XX:-UsePerfData | ||
From eclipse for java, create a new debug configuration for remote java application, under connect tab, select your esdl java service project, select standard socket attach connection type, fill in the host and port. The port is what you specify in the jvmoptions inside environment.conf, which is 2000 in our example above. Click the Debug button and off you go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"specified" or even better, "The port should match what you've specified".
- Add a commented-out line to environment.conf for java remote debugging - Add debugging instructions in ReadMeFirst.txt file of esdl examples Signed-off-by: mayx <yanrui.ma@lexisnexisrisk.com>
@afishbeck Wording updated as suggested, please review again... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayx looks good
Automated Smoketest: ✅
Install hpccsystems-platform-community_6.3.0-trunk0.el7.x86_64.rpm Unit tests result:
Regression test result:
HPCC Stop: OK |
Signed-off-by: mayx yanrui.ma@lexisnexisrisk.com
Type of change:
Checklist:
Testing: