At present I have a TestNG project that calls a JBoss RESTEasy web service. I can step through the TestNG project using breakpoints and the debugging perspective like any Eclipse-based project, but I am unsure how to go about stepping through breakpoints in multiple projects. Does anyone know how to do this?
As a former .NET developer, I am used to debugging ASP.NET and WCF web services and dependent projects by attaching to the appropriate processes running each project (w3wp.exe) in Visual Studio and stepping through each project like that. However, in JBoss I am not sure if there is an equivalent way to do this?
Thanks in advance for your help.
I found some info that solved the problem (running JBoss in Windows).
Edited the following file:
C:\Program Files\jbdevstudio4\jbdevstudio.bat
… by adding this line at the top:
… and then ran JBoss by executing that same batch file (instead of running JBoss from the desktop or shortcuts). This allowed me to then connect to the RESTEasy project breakpoints from the TestNG project, after running the JBoss AS Server in debug.
Not sure why JBoss would not allow me to connect to the RESTEasy web service as-is. Any comments welcome.