ETrice/Development/Tips and tricks

From Eclipsepedia

< ETrice‎ | Development
Revision as of 03:32, 16 July 2012 by Hrr.protos.de (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

General Eclipse HOWTOs

Add Tracing to Your Plug-in

code format="Java" private static boolean traceData = false;

static { if (Activator.getDefault().isDebugging()) { String value = Platform.getDebugOption( "de.protos.example/trace/data"); if (value!=null && value.equalsIgnoreCase(Boolean.toString(true))) traceData = true; } } code