I've been playing and learning JS and it's running fine with a test app. Now I want to get serious and create something. So I do a New | Basic Application, give it a name, and create a bunch of scenes.

But when I try to run it, I still get the old app getting loaded into the Virtual Box. I don't see how to select a different project to debug.

I've tried setting up a working set, and lots of things, but when I select Debug (or F11), it still loads the old test app instead of my new one.

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?

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?

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.

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.

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.

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.

Ok, it looks like the project has to be open, and then the bug-squash pull-down list thing works. I think it was my lack of understanding of how the thing works, and being unable to find the project navigator when it was deep in the Window path.