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

ETrice/Development/Tips and tricks

< ETrice‎ | Development
Revision as of 03:35, 16 July 2012 by Unnamed Poltroon (Talk) (Add Tracing to Your Plug-in)

General Eclipse HOWTOs

Add Tracing to Your Plug-in

	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;
		}
	}

Back to the top