Community
Participate
Working Groups
HEAD The Java Stack Trace Console should support traces copied from the Debug view. Currently, neither hyperlinking nor formatting works e.g. on this input: Thread [main] (Class load: org.eclipse.ui.console.ConsolePlugin) owns: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader (id=159) owns: org.eclipse.swt.widgets.RunnableLock (id=160) owns: org.eclipse.swt.widgets.RunnableLock (id=161) java.lang.Class<T>.getDeclaredConstructors0(boolean) line: not available [native method] java.lang.Class<T>.privateGetDeclaredConstructors(boolean) line: 2357 java.lang.Class<T>.getConstructor0(java.lang.Class[], int) line: 2671 java.lang.Class<T>.newInstance0() line: 321 java.lang.Class<T>.newInstance() line: 303 org.eclipse.osgi.framework.internal.core.BundleHost(org.eclipse.osgi.framework.internal.core.AbstractBundle).loadBundleActivator() line: 153 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start() line: 675 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(int) line: 378 org.eclipse.osgi.framework.internal.core.BundleHost(org.eclipse.osgi.framework.internal.core.AbstractBundle).start(int) line: 286 org.eclipse.osgi.framework.util.SecureAction.start(org.osgi.framework.Bundle, int) line: 440 org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger() line: 265 ...
Wouldn't it be even better if the debug view could copy the standard format that the console already supports?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Still relevant as of Version: 2020-06 (4.16.0) Build id: 20200615-1200. Workaround: Evaluate this code in the "Expressions" or "Debug Shell" view: java.io.StringWriter w = new java.io.StringWriter(); new RuntimeException("DUMMY STACK TRACE").printStackTrace(new java.io.PrintWriter(w, true)); w.toString();