I personally have no experience with IAS, since I use orion server. However debugging of an EJB using JBuilder 4 in any appserver is probably the same.

To debug an EJB, i do the following:

1. In the Project menu select Project properties. In the dialog menu, select the Run tab. Select the main class of your app server. In the orion case, it is useful to put -classic in the VM parameters edit box.
2. Deploy your ejb.
3. Insert breakpoints in your ejb where necessary.
4. Press 'Debug' to start debugging.

What concerns stub classes - they are server-generated, and are automatically compiled. Usually you don't need to trace through theses classes.

I just wanted to add, that I start orion as a simple application. It means, that in the Run tab, mentioned in step 1, I open Application tab (not EJB tab), where all settings (like main class and VM parameters) should be applied.

TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations technology projects - with its network of technology-specific websites, events and online magazines.