# How to Enable Tracing in Oracle Forms 10g

Enable Tracing from the url by adding the following to your forms url:  
&record=forms&tracegroup=0-98,100-199 (note: item 99 causes some issues, so we are skipping it here. See the Oracle documenation for a description of what is being traced for each item.)  
  
for example  
http://machine:port/forms/frmservlet?config=myConfig&record=forms&tracegroup=0-98,100-199  
  
You will get a trace file in the following location:  
  
%ORACLE\_HOME%\\forms\\trace\\forms\_xxx.trc where xxx is the forms session ID.  
  
Open dos window and do the following:  
  
set ORACLE\_HOME=  
  
set PATH=%ORACLE\_HOME%\\jdk\\bin;%PATH%  
  
set CLASSPATH=%ORACLE\_HOME%\\jdbc\\lib\\classes12.zip;%ORACLE\_HOME%\\forms\\java\\frmxlate.jar  
  
java oracle.forms.diagnostics.Xlate datafile=%ORACLE\_HOME%\\forms\\trace\\forms\_xxx.trc outputfile=%ORACLE\_HOME%\\forms\\trace\\html\_xxx.html outputclass=WriteOutHTML  
  
  
you will get a file html\_xxx.html in your %ORACLE\_HOME%\\forms\\trace directory.
