Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "RCPTT/Debugging"
(Created page with "=Tracing background activities= RCPTT supports enhanced tracing for background activities. Create 'debug.options' file with following content: org.eclipse.rcptt.tesla.swt...") |
m (Break line before pictures) |
||
Line 8: | Line 8: | ||
==RCPTT IDE== | ==RCPTT IDE== | ||
Add `-debug path_to_dir/debug.options` to the AUT arguments for tracing in the RCPTT IDE: | Add `-debug path_to_dir/debug.options` to the AUT arguments for tracing in the RCPTT IDE: | ||
+ | |||
[[File:RCPTT_IDE_TRACING.jpg]] | [[File:RCPTT_IDE_TRACING.jpg]] | ||
Check Output File and input the file path on the Common tab for output log in file. | Check Output File and input the file path on the Common tab for output log in file. | ||
+ | |||
[[File:RCPTT_COMMON_TAB.jpg]] | [[File:RCPTT_COMMON_TAB.jpg]] | ||
Revision as of 06:38, 26 August 2019
Tracing background activities
RCPTT supports enhanced tracing for background activities.
Create 'debug.options' file with following content:
org.eclipse.rcptt.tesla.swt/debug/jobCollector=true org.eclipse.rcptt.tesla.swt/debug/proceed=true
RCPTT IDE
Add `-debug path_to_dir/debug.options` to the AUT arguments for tracing in the RCPTT IDE:
Check Output File and input the file path on the Common tab for output log in file.
Maven Plugin
Add 'path_to_dir/debug.options' to AUT arguments in pom file for tracing in the RCPTT Maven Plugin:
<aut> ... <args> ... <arg>path_to_dir/debug.options</arg> </args> ... </aut>
Runner
Add 'path_to_dir/debug.options' to AUT arguments in pom file for tracing in the Runner
java -DautArgs=$path_to_dir/debug.options ...
Tracing can be found in the 'aut-console-*_console.log' file.