|
Re: Project switching in Eclipse [message #632341 is a reply to message #632159] |
Tue, 12 October 2010 15:49 |
Paul Kinzelman Messages: 8 Registered: August 2010 |
Junior Member |
|
|
I forgot to mention, the obvious way to do it, using Project | Open Project doesn't work. Most of the options on the Project menu are grayed out. Only Build Working Set and Build Automatically are active on that menu. Shouldn't they be available to be selected?
I found I could do Window | Show View | Project Explorer and was able to close all the projects, then I could select one and open it. However, when I open the one I want, go into the webOS perspective, and try to run/debug it (F11) I get a dialog box: Problem Occurred, 'TapCounter' has encountered a problem. An internal error occurred during "TapCounter". The detail shows "An internal error occurred during: "TapCounter". java.lang.NullPointerException
It's still trying to run the one I don't want to run (TapCounter). How do I get it to run the one I want and the project I have open?
[Updated on: Tue, 12 October 2010 16:04] Report message to a moderator
|
|
|
|
Re: Project switching in Eclipse [message #632421 is a reply to message #632412] |
Tue, 12 October 2010 20:11 |
|
On 2010.10.12 13:44, Paul Kinzelman wrote:
> I stumbled over a solution - if I go into the project navigator view
> (which doesn't seem to always even be available) and right-click the
> project I want, it seems to debug the new project instead of the old one.
>
> But there should be an easier way to change projects, could somebody
> please fill me in with how it's supposed to be done?
>
> A lot of times the Windows | Show View does not have the Project
> Navigator available to be selected, how can I get to that view when it's
> not there?
It's not that the Navigator view isn't always available, but, I think,
that not all perspectives include it in the Window menu when they are
active. I've never yet discovered a time when it wasn't reachable via
Window -> Show View -> [ Other -> General -> ] Navigator. However, maybe
I've just never tried getting from there at a time it wasn't available.
|
|
|
|
Re: Project switching in Eclipse [message #632433 is a reply to message #632432] |
Tue, 12 October 2010 22:00 |
|
On 2010.10.12 15:40, Paul Kinzelman wrote:
> Oh, thanks, that's pretty deep, I didn't discover it there. At least now
> I know where to find it if it's not in the list easy to get to.
>
> Any ideas about switching projects so that a debug command will debug
> the new project? I'd think there would be an easier way to select what
> project is to be debugged when F11 is pressed.
I personally use few keyboard equivalents that aren't high-frequency,
but I assume that F11 is the same thing as clicking the bug-shaped icon
in the button bar across the top of some perspectives.
If so, then launching for debug once will set the project in question as
the one that a click on the bug icon or F11 (presumably) will result in
without explicitly choosing which of your myriad, open projects will be
launched.
|
|
|
|
|
Re: Project switching in Eclipse [message #632440 is a reply to message #632435] |
Tue, 12 October 2010 22:28 |
|
On 2010.10.12 16:12, Paul Kinzelman wrote:
> Yes, I think the F11 is the same as squashing the bug.
>
> The question is that if you're debugging one project and want to change
> to another, how is one supposed to do it? I found a right-click seems to
> do it, but it seems to me there should be a 'select current project'
> menu item or something.
If I pull down the menu to the side of the bug icon, I can choose which
of all that I've been debugging since I launched Eclipse on the
workspace to debug. Next time, it's that one that's the default.
So, the default is the "last one debugged/run."
Or so it goes in my experience. After all these years, it would be a
huge anomaly for it always to have worked that way for me, yet not
actually be that way.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03298 seconds