-
1. Re: Problem debugging Seam apps in Eclipse/JBossIDE
lawrieg Feb 19, 2007 10:04 AM (in response to lawrieg)Is it only me having this problem? (Or perhaps I'm the only person on this forum who uses Eclipse ;) )
Are you able to successfully debug your Seam apps in Eclipse? (And, if so, what versions are you using, and did you have to set up any special config options?)
Any help would be much appreciated...
Thanks,
Lawrie -
3. Re: Problem debugging Seam apps in Eclipse/JBossIDE
lawrieg Feb 19, 2007 11:34 AM (in response to lawrieg)Currently I'm freally just using Eclipse as a glorified editor, and using Ant to compile/build/deploy, but I am using JBossIDE JBoss Server View to start JBoss AS in debug mode.
I take it I would have to set up my Seam project completely as an Eclipse project (with compile/build/deploy being performed by Eclipse rather than Ant) in order to set up debugging as detailed in the other post? -
4. Re: Problem debugging Seam apps in Eclipse/JBossIDE
pmuir Feb 19, 2007 11:37 AM (in response to lawrieg)Nope. I use an seam-gen based ant script, I just add -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n as 'VM arguements' to the server launch config, start it in normal mode, then attach a debugger as described. I've never got it to launch using the debug start.
-
5. Re: Problem debugging Seam apps in Eclipse/JBossIDE
fhh Feb 19, 2007 11:40 AM (in response to lawrieg)
I take it I would have to set up my Seam project completely as an Eclipse project (with compile/build/deploy being performed by Eclipse rather than Ant) in order to set up debugging as detailed in the other post?
Just start the JBoss server in debug mode from the server view and debugging will just work(tm). You can compile and deploy with ant.
Regards
felix -
6. Re: Problem debugging Seam apps in Eclipse/JBossIDE
supernovasoftware.com Feb 19, 2007 1:12 PM (in response to lawrieg)My project does start with in debug using eclipse, but it seems to time out. It will just die with no error after a minute or so.
Has anyone else seen this? -
7. Re: Problem debugging Seam apps in Eclipse/JBossIDE
gleven Mar 5, 2007 12:56 PM (in response to lawrieg)lawrieg:
I've seen this same error message in creating a new seam project. In my case, I resolved it by adding the source lookup path for the new project to the Eclipse Debug source tab. You get there by poking the Debug icon and selecting Debug from the menu This brings up a dialog that includes a source tab. You might check to see that your source directory is added here.