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.
Difference between revisions of "FAQ for CDO and Net4j"
(New page: __TOC__ <br> =General= <br> ==CDO Model Repository== ---- Wikis: CDO | Net4j | EMF | Eclipse) |
|||
Line 2: | Line 2: | ||
<br> | <br> | ||
=General= | =General= | ||
+ | |||
+ | ==How can I enable '''tracing'''? | ||
+ | If running as Eclipse launch config it's easy: just turn on tracing on the | ||
+ | tracing page of the launch config (plus all net4j and cdo plugins in the list). | ||
+ | |||
+ | If running standalone: | ||
+ | |||
+ | <source lang="java"> | ||
+ | OMPlatform.INSTANCE.addLogHandler(PrintLogHandler.CONSOLE); | ||
+ | OMPlatform.INSTANCE.addTraceHandler(PrintTraceHandler.CONSOLE); | ||
+ | OMPlatform.INSTANCE.setDebugging(true); | ||
+ | </source> | ||
+ | |||
+ | <br> | ||
+ | =CDO= | ||
<br> | <br> | ||
− | = | + | =Net4j= |
---- | ---- | ||
Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]] | Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]] |
Revision as of 06:47, 19 September 2008
General
==How can I enable tracing? If running as Eclipse launch config it's easy: just turn on tracing on the tracing page of the launch config (plus all net4j and cdo plugins in the list).
If running standalone:
OMPlatform.INSTANCE.addLogHandler(PrintLogHandler.CONSOLE); OMPlatform.INSTANCE.addTraceHandler(PrintTraceHandler.CONSOLE); OMPlatform.INSTANCE.setDebugging(true);
CDO