Sounds like your Eclipse Debug profile is messed up. When you hover
over Debug, make sure it says "Debug <correct FileName>". IF that's
correct, don't click the button, but click the arrow next to it and
hit "Open Debug Dialog" and make sure that all the parameters in there
are correct, Project Name, Main Class, Arguments...etc.,

I would also double check your project creation, the fact that you
can't import projects using "Existing Projects into Workspace" is
worrisome. Here's an example of my commandline creation that lets me
import the projects into workspace option:

C:\Workspace_spl\Test>C:\gwt\projectCreator -eclipse Test
Created directory C:\Workspace_spl\Test\src
Created directory C:\Workspace_spl\Test\test
Created file C:\Workspace_spl\Test\.project
Created file C:\Workspace_spl\Test\.classpath

C:\Workspace_spl\Test>C:\gwt\applicationCreator -eclipse Test
com.sean.client.TestEntry
Created directory C:\Workspace_spl\Test\src\com\sean
Created directory C:\Workspace_spl\Test\src\com\sean\client
Created directory C:\Workspace_spl\Test\src\com\sean\public
Created file C:\Workspace_spl\Test\src\com\sean\TestEntry.gwt.xml
Created file C:\Workspace_spl\Test\src\com\sean\public\TestEntry.html
Created file C:\Workspace_spl\Test\src\com\sean\public\TestEntry.css
Created file C:\Workspace_spl\Test\src\com\sean\client\TestEntry.java
Created file C:\Workspace_spl\Test\TestEntry.launch
Created file C:\Workspace_spl\Test\TestEntry-shell.cmd
Created file C:\Workspace_spl\Test\TestEntry-compile.cmd

On Mar 10, 11:50 pm, kerwei <kerwe...@gmail.com> wrote:
> Hi guys, I am rather new to programming. Will appreciate it if you
> guys can help explain what's wrong here in detail.
>
> I am using GWT with NetBeans IDE 6.5. Started with the StockWatcher
> tutorial and below's a history of what I did.
>
> 1. In the Windows command-line, I created the directories, files,
> scripts and Eclipse files as indicated.
> 2. I proceeded to import the project using the "Import Project
> ignoring the Project Dependencies" option since I can't use "Import
> Projects from Workspace". The error given when the latter is selected
> is that the path does not contain a regular workspace.
> 3. I could still proceed with the application building and testing the
> application in hosted mode.
> 4.However, I'm stuck at Step 6: Debugging a GWT application. Each time
> i try to debug the source code after i've inserted the line
> breakpoint, i get the following message: Class "xx.StockWatcher" does
> not have a main method.
> 5. Thinking that probably installing a GWT plugin into NetBeans might
> help, i downloaded and installed GWT4NB version 2.5.0 
> fromhttp://gwt4nb.dev.java.net/
>
> At the present I'm at Point number 5 and I'm not quite sure how to
> proceed to get my debugging to work. Please advise.
> Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to