Bug 552439 - expose Java Stack Trace Console in "Find Actions..." / Quick search
Summary: expose Java Stack Trace Console in "Find Actions..." / Quick search
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.14   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted, usability
Depends on:
Blocks:
 
Reported: 2019-10-25 18:28 EDT by Max Rydahl Andersen CLA
Modified: 2021-10-24 15:22 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Rydahl Andersen CLA 2019-10-25 18:28:07 EDT
Would be great you could just open Java Stack Track Console via Find Actions/Quick Search.

Java Stack Trace Console is not findable via Find Actions.

There is a Java Stack Trace clipboard action but I've never seen that actually work.

In case you forgot where it is (as I had :) its Open Console, then find the right icon of the many and click Add Java Stack Trace Console...once that is done you now need to use the other top bar menu to open it :)
Comment 1 Noopur Gupta CLA 2019-10-31 06:46:07 EDT
(In reply to Max Rydahl Andersen from comment #0)
> Would be great you could just open Java Stack Track Console via Find
> Actions/Quick Search.
> 
> Java Stack Trace Console is not findable via Find Actions.

Moving to JDT Debug for this.

> There is a Java Stack Trace clipboard action but I've never seen that
> actually work.

That's "Open from Clipboard" action (also accessible via Navigate > Open from Clipboard menu or Ctrl+Shift+V shortcut). If you have copied a stack trace in your clipboard, this action opens that stack trace in the Java Stack Trace Console view. It can also be used to open a Java element from its name and line number copied to the clipboard (e.g. AbstractReconciler.java:183).
Comment 2 Max Rydahl Andersen CLA 2019-10-31 08:23:36 EDT
I don't know what you put the clipboard to make "Open From clipboard" work but if I put a stacktrace on clipboard "open from clipboard" fails all the time; paste the same stacktrace in java stack console just works.

It feels like it is trying to validate something that I somehow is not able to get past.
Comment 3 Noopur Gupta CLA 2019-10-31 08:30:46 EDT
(In reply to Max Rydahl Andersen from comment #2)
> I don't know what you put the clipboard to make "Open From clipboard" work
> but if I put a stacktrace on clipboard "open from clipboard" fails all the
> time; paste the same stacktrace in java stack console just works.
> 
> It feels like it is trying to validate something that I somehow is not able
> to get past.

Can you copy the following stack trace and try:

java.lang.NullPointerException
	at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.storeDialog(QuickAccessDialog.java:359)
	at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.access$4(QuickAccessDialog.java:349)

If it doesn't open it in Java stack trace console view for you then it's a bug. Please check if you get any exception in Error log view after using "open from clipboard".
Comment 4 Max Rydahl Andersen CLA 2019-10-31 17:19:43 EDT
very weird - it works now. even when I copy random text and call the action it opens up.

I swear that when I tried last it gave an error indicating as it did not accept what was on the clipoard as valid enough to be used to open the console.
Comment 5 Sarika Sinha CLA 2019-11-03 23:00:59 EST
If anyone interested to contribute for adding :
Java Stack Trace Console to be findable via Find Actions.
Comment 6 Eclipse Genie CLA 2021-10-24 03:43:16 EDT
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.
Comment 7 Mickael Istria CLA 2021-10-24 15:22:46 EDT
This is not specific to JDT. All contributors to org.eclipse.ui.console.consoleFactories would be interesting to add in Find Actions. This duty would belong to Platform Debug.