|
Re: Debug Duplicate Window [message #201880 is a reply to message #201872] |
Tue, 27 March 2007 23:24 |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Ben" <bsisson@simventions.com> wrote in message
news:f67e7632839a7c11d0f98035354aa19a$1@www.eclipse.org...
>I am a bit confused. I am using Eclipse version 3.2 and have been using it
>for some time but something must have changed and I'm not sure what. When
>I enter into debug mode and my code hits a break point it opens a second
>copy of the code (same exact code) that allows me to step through it but I
>cannot make any changes to the code or even add break points. I still have
>the editable code in a different window.
Sounds like it is loading the class from a jar file somewhere rather than
from your editable copy. Did your classpath change, or did the class get
added to a jar file on the classpath?
|
|
|
|
|
Re: Debug Duplicate Window [message #202071 is a reply to message #201872] |
Wed, 28 March 2007 17:06 |
Eclipse User |
|
|
|
Originally posted by: eclipse5.rizzoweb.com
Ben wrote:
> I am a bit confused. I am using Eclipse version 3.2 and have been using
> it for some time but something must have changed and I'm not sure what.
> When I enter into debug mode and my code hits a break point it opens a
> second copy of the code (same exact code) that allows me to step through
> it but I cannot make any changes to the code or even add break points.
> I still have the editable code in a different window.
Check the Launch Configuration that you are using to launch your debug -
its classpath or source path must be icnluding the .class files or JAR
file from your source instead of the source itself.
Hope this helps,
Eric
|
|
|
|
Re: Debug Duplicate Window [message #202211 is a reply to message #202199] |
Thu, 29 March 2007 13:32 |
Eclipse User |
|
|
|
Originally posted by: eclipse5.rizzoweb.com
Ben wrote:
> I'm not sure where to make this change or what change to make. I went
> into Windows->Preferences->Run/Debug->Launching->Launch Configuration
> but am not sure which options I would need to change. I do not see a
> path or checkbox that indicates where it is pulling the source/classes
> from. I also do not see anything under the project properties that
> would apply.
>
> The application that I'm running is a simple web application that I have
> run/tested many times before this occured. I typically right click on
> the JSP and choose to run/debug on server and it works. I'm not sure
> where the options is to switch the configuration. If someonoe could
> provide a more detail I would greatly appreciate it.
Launch Configurations are the mechanism that Eclipse uses to launch your
application(s). One is created when you run a class (or JSP in your
case), but you can also create/edit them directly.
If this were a stand-alone application I could tell you how to edit the
Launch Config, but this is WTP related (running on a server) so I
suggest you ask on the WTP newsgroup how to check/edit the classpath and
source lookup path for a server launch.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.08257 seconds