Bug 238036 - [launching] request button in Run Dialog to take you to main()
Summary: [launching] request button in Run Dialog to take you to main()
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 22:21 EDT by Ducky Sherwood CLA
Modified: 2008-06-30 11:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ducky Sherwood CLA 2008-06-21 22:21:08 EDT
I request a button somewhere prominent in the Run Dialog that will take you to the main() method for that run configuration.

I recently ran a user study where seven developers did four programming tasks. I was surprised at how hard it was for some of them to find main().  They all found it eventually, but sometimes it took a little while.  Part of the problem was that Java Search is error prone (see bug#221081), but on some of the tasks the code base had multiple main()s (for testing purposes) and it took them a while to figure out which one was the right one.

Sometimes the subject would go to the run Dialog, stare at the class name (memorizing it), and then go search for the class.  I think that the staring phase was a memorization phase.  Since the Run Dialog knows what class it is using for main(), seems like it might be worthwhile to have the Run Dialog have a way to take you there directly.

This is NOT a high priority item.  As I said, people found main eventually.  It seems like a low effort/low reward enhancement, but I wanted to record the idea for posterity.