Re: Q on ProfileEnv
Vitezslav Stejskal <[email protected]> Mon, 20 Oct 2003 18:33:58 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Message-ID | <[email protected]> |
Sreenivasa Viswanadha wrote: > > I am trying to create a profile environment for j2ee debugging, which is > quite similar to j2eeprofileenv from the j2eeserver package that is used > for server execution. However, it doesn't look right to subclass it > (because it is not part of the API). So I am writing my own version of > profile env starting from the j2eeprofileenv. So I need to make sure > my version is compatible with what is in j2eeprofileenv. > > My question is - has anyone else seen this disconnect between execution > and debugging? IMO, this is not very good because execution and > debugging are are usually closely related. I see a similar issue in > java exec vs. debugging as well. Yes, this should be solved by the new revised Profiles API. It will allow more modules to cooperate on implementation of single profile, e.g. java & debugger to cooperate on Class Execution profile. That way the main part of the profile will be implemented in java, but debugger would be able to access settings from that profile and use them to run the class in debugged JVM. The debugger can add its own specific variables. Both java and debugger will be able to register hooks which will be called when user tries to use the profile (execute the class or debug the class respectively). Also both of them will be able to add some piece of UI for profile customization. -vita