Using TraceViewer
TraceViewer is an external tool used to enable Components Technical Trace.
General Principles
Location of Trace Files
You are strongly advised to use a specific subdirectory of your AppData LocalLow directory, as that directory is guaranteed to be:
-
Write-enabled, even for a low level privilege process such as Internet Explorer in protected mode
-
Local (tracing on a network drive is not recommended)
Unfortunately, there is no simple, standard way of knowing where that directory is located. The CxTraceViewer.exe tool lets you locate it (see Specify the Trace Directory).
Usually, the directory is %userprofile%\AppData\LocalLow. We recommend naming the subdirectory ‘Desktop Studio’.
Tracing by Component
You need to choose which components will effectively trace, as tracing everything would be too slow and would produce too much data.
Each component is identified by a trigram code. The available trigrams are:
|
Trigram |
Component |
|---|---|
|
ACT |
The ICtxActApp interface |
|
AUI |
Desktop Agent Localization |
|
BAE |
Desktop Studio Discovery |
|
BAR |
Desktop Studio AppBar |
|
DBG |
JavaScript debugging from Studio |
|
DES |
Desktop |
|
HLL |
HLLAPI Applications |
|
HTM |
Some Desktop Studio HTML Popups |
|
NSD |
NSDK Applications |
|
RIX |
Citrix and RDP Applications |
|
RUN |
Launching and initializing Desktop Agent |
|
SCR |
The Scripting Host |
|
STU |
Desktop Studio |
|
SWG |
Java Applications |
|
UIA |
UI Automation Applications |
|
WEB |
Web Applications |
|
WIN |
Windows Applications |
|
WRK |
The Core: The “Work Manager” |
Using CxTraceViewer.exe
Background
The CxTraceViewer.exe program is located in the Desktop Studio directory, which is typically C:\Program Files (x86)\SAP\Intelligent RPA\Desktop Studio
Use the menu option to access the Trace Parameters dialog box:
Specify the Trace Directory
The Trace Directory must be entered in the Trace Directory input box. We recommend using the Set To Temp button (which should be labeled Set To AppData LocalLow) and adding \Agent to the string.
Specify the Component List
For each component:
-
Select the component trigram from the list box
-
Check the File Only radio button
Here is an example for the Java Applications component:
When you have selected each component (and checked File Only for that component), click OK to close the Parameters dialog box.
Note:
-
Do not close the Trace Viewer program during your trace session. You can, however, minimize the program.

