Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "RCPTT/Debugging"

m (Break line before pictures)
m (Vasili.gulevich.xored.com moved page RCPTT Debugging to RCPTT/Debugging: Making the page title consistent with other pages for RCPTT)
 
(3 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
         <args>
 
         <args>
 
             ...
 
             ...
 +
            <arg>-debug</arg>
 
             <arg>path_to_dir/debug.options</arg>
 
             <arg>path_to_dir/debug.options</arg>
 
         </args>
 
         </args>
Line 30: Line 31:
 
Add 'path_to_dir/debug.options' to AUT arguments in pom file for tracing in the 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 ...
+
     java -autArgs '-debug;$path_to_dir/debug.options' ...
  
  

Latest revision as of 02:33, 4 September 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:

RCPTT IDE TRACING.jpg

Check Output File and input the file path on the Common tab for output log in file.

RCPTT COMMON TAB.jpg

Maven Plugin

Add 'path_to_dir/debug.options' to AUT arguments in pom file for tracing in the RCPTT Maven Plugin:

   <aut>
       ...
       <args>
           ...
           <arg>-debug</arg>
           <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 -autArgs '-debug;$path_to_dir/debug.options' ...


Tracing can be found in the 'aut-console-*_console.log' file.

Back to the top