GWT 2.1.1

com.google.gwt.logging.server
Class StackTraceDeobfuscator

java.lang.Object
  extended by com.google.gwt.logging.server.StackTraceDeobfuscator

public class StackTraceDeobfuscator
extends java.lang.Object

Deobfuscates stack traces on the server side. This class requires that you have turned on emulated stack traces and moved your symbolMap files to a place accessible by your server. More concretely, you must compile with the -extra command line option, copy the symbolMaps directory to somewhere your server side code has access to it, and then set the symbolMapsDirectory in this class through the constructor, or the setter method. For example, this variable could be set to "WEB-INF/classes/symbolMaps/" if you copied the symbolMaps directory to there. TODO(unnurg): Combine this code with similar code in JUnitHostImpl


Constructor Summary
StackTraceDeobfuscator(java.lang.String symbolMapsDirectory)
           
 
Method Summary
 java.util.logging.LogRecord deobfuscateLogRecord(java.util.logging.LogRecord lr, java.lang.String strongName)
           
 void setSymbolMapsDirectory(java.lang.String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackTraceDeobfuscator

public StackTraceDeobfuscator(java.lang.String symbolMapsDirectory)
Method Detail

deobfuscateLogRecord

public java.util.logging.LogRecord deobfuscateLogRecord(java.util.logging.LogRecord lr,
                                                        java.lang.String strongName)

setSymbolMapsDirectory

public void setSymbolMapsDirectory(java.lang.String dir)

GWT 2.1.1