diff options
author | slewis | 2007-10-16 07:52:16 +0000 |
---|---|---|
committer | slewis | 2007-10-16 07:52:16 +0000 |
commit | d76c8a5531a93235cecc4a04e562984f99be356f (patch) | |
tree | aff35ac567e32a8434a7bd8e402d8d476072a2cc /server-side | |
parent | 9c996208a8804048bde5bd059f5b4fa0548fea78 (diff) | |
download | org.eclipse.ecf-d76c8a5531a93235cecc4a04e562984f99be356f.tar.gz org.eclipse.ecf-d76c8a5531a93235cecc4a04e562984f99be356f.tar.xz org.eclipse.ecf-d76c8a5531a93235cecc4a04e562984f99be356f.zip |
Added debug options classv20071016-0052
Diffstat (limited to 'server-side')
3 files changed, 47 insertions, 0 deletions
diff --git a/server-side/bundles/org.eclipse.ecf.server/.options b/server-side/bundles/org.eclipse.ecf.server/.options new file mode 100644 index 000000000..f83191ce9 --- /dev/null +++ b/server-side/bundles/org.eclipse.ecf.server/.options @@ -0,0 +1,16 @@ +# Debugging options for the org.eclipse.ecf.server plug-in + +# Turn on general debugging for the org.eclipse.ecf.server plug-in +org.eclipse.ecf.server/debug=true +org.eclipse.ecf.server/debug/filter = * +org.eclipse.ecf.server/debug/flag = true + +# Trace when exceptions are caught +org.eclipse.ecf.server/debug/exceptions/catching=false +# Trace when exceptions are thrown +org.eclipse.ecf.server/debug/exceptions/throwing=false + +# Trace when methods are entered +org.eclipse.ecf.server/debug/methods/entering=false +# Trace when methods are exited +org.eclipse.ecf.server/debug/methods/exiting=false diff --git a/server-side/bundles/org.eclipse.ecf.server/src/org/eclipse/ecf/internal/server/Activator.java b/server-side/bundles/org.eclipse.ecf.server/src/org/eclipse/ecf/internal/server/Activator.java index 27733b29b..55094de71 100644 --- a/server-side/bundles/org.eclipse.ecf.server/src/org/eclipse/ecf/internal/server/Activator.java +++ b/server-side/bundles/org.eclipse.ecf.server/src/org/eclipse/ecf/internal/server/Activator.java @@ -19,6 +19,7 @@ import org.osgi.framework.BundleContext; */ public class Activator implements BundleActivator { + public static final String PLUGIN_ID = "org.eclipse.ecf.server"; //$NON-NLS-1$ //The shared instance. private static Activator plugin; diff --git a/server-side/bundles/org.eclipse.ecf.server/src/org/eclipse/ecf/internal/server/ServerDebugOptions.java b/server-side/bundles/org.eclipse.ecf.server/src/org/eclipse/ecf/internal/server/ServerDebugOptions.java new file mode 100644 index 000000000..30e63e041 --- /dev/null +++ b/server-side/bundles/org.eclipse.ecf.server/src/org/eclipse/ecf/internal/server/ServerDebugOptions.java @@ -0,0 +1,30 @@ +/**************************************************************************** + * Copyright (c) 2007 Composent, Inc. and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Composent, Inc. - initial API and implementation + *****************************************************************************/ + +package org.eclipse.ecf.internal.server; + + +/** + * + */ +public class ServerDebugOptions { + + public static final String DEBUG = Activator.PLUGIN_ID + "/debug"; //$NON-NLS-1$ + + public static final String EXCEPTIONS_CATCHING = DEBUG + "/exceptions/catching"; //$NON-NLS-1$ + + public static final String EXCEPTIONS_THROWING = DEBUG + "/exceptions/throwing"; //$NON-NLS-1$ + + public static final String METHODS_ENTERING = DEBUG + "/methods/entering"; //$NON-NLS-1$ + + public static final String METHODS_EXITING = DEBUG + "/methods/exiting"; //$NON-NLS-1$ + +} |