Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » inspecting local variables
inspecting local variables [message #119866] Mon, 24 November 2003 08:07 Go to next message
Eclipse UserFriend
Originally posted by: xxx.esg.de

Hi all,

seems to me that I posted in the wrong (platform) group before. But
still have this question.

Doing a remote debugging I try to inspect local variables. I get the
message "xxx cannot be resolved". Is it a general restriction for
debugging or do I miss something in using the debugger correctly?

I have not found more information on the Eclipse site.

Thanks in advance
Wolfgang R.
Re: inspecting local variables [message #120186 is a reply to message #119866] Mon, 24 November 2003 15:39 Go to previous messageGo to next message
Darin Wright is currently offline Darin WrightFriend
Messages: 454
Registered: July 2009
Senior Member
Performing expression evaluations requires that the workspace have the
associated source/projects, such that the expressions can be compiled. When
debugging remotely, you may not have this? (I need more details to know for
sure).

Darin

<xxx@esg.de> wrote in message news:bpse7a$kmv$1@eclipse.org...
> Hi all,
>
> seems to me that I posted in the wrong (platform) group before. But
> still have this question.
>
> Doing a remote debugging I try to inspect local variables. I get the
> message "xxx cannot be resolved". Is it a general restriction for
> debugging or do I miss something in using the debugger correctly?
>
> I have not found more information on the Eclipse site.
>
> Thanks in advance
> Wolfgang R.
>
Antwort: Re: inspecting local variables [message #120298 is a reply to message #120186] Mon, 24 November 2003 17:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: xxx.esg.de

Hi Darin,


as an example. I have a breakpoint within the EventQueue class at the
first if block.
Now I'm not able to either evaluate src or event.getSource() . It's
telling me
that 'src cannot be resolved'. It seems not to depend on remote debugging
only.

Thanks
Wolfgang R.



protected void dispatchEvent(AWTEvent event) {
Object src = event.getSource();
if (event instanceof ActiveEvent) {
// This could become the sole method of dispatching in time.
setCurrentEventAndMostRecentTimeImpl(event);

((ActiveEvent)event).dispatch();
} else if (src instanceof Component) {
...
Re: Antwort: Re: inspecting local variables [message #120359 is a reply to message #120298] Mon, 24 November 2003 20:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: xxx.esg.de

Hi,

now I found it in other threads. Used a rt.jar without the required
debug info.

Thanks anyway
Wolfgang R.

xxx@esg.de wrote:

> Hi Darin,


> as an example. I have a breakpoint within the EventQueue class at the
> first if block.
> Now I'm not able to either evaluate src or event.getSource() . It's
> telling me
> that 'src cannot be resolved'. It seems not to depend on remote debugging
> only.

> Thanks
> Wolfgang R.



> protected void dispatchEvent(AWTEvent event) {
> Object src = event.getSource();
> if (event instanceof ActiveEvent) {
> // This could become the sole method of dispatching in time.
> setCurrentEventAndMostRecentTimeImpl(event);

> ((ActiveEvent)event).dispatch();
> } else if (src instanceof Component) {
> ...
Antwort: Re: inspecting local variables [message #120697 is a reply to message #120186] Tue, 25 November 2003 08:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: xxx.esg.de

Hi Darin,

isn't it worth to put this one to the online-help/faq/wiki ?

http://dev.eclipse.org/newslists/news.eclipse.tools/msg56087 .html

Regards
Wolfgang R.
Re: Antwort: Re: inspecting local variables [message #121733 is a reply to message #120697] Tue, 25 November 2003 16:56 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
I have no problem with you adding this to the wiki

Darins

<xxx@esg.de> wrote in message news:bpv2kj$hpf$1@eclipse.org...
> Hi Darin,
>
> isn't it worth to put this one to the online-help/faq/wiki ?
>
> http://dev.eclipse.org/newslists/news.eclipse.tools/msg56087 .html
>
> Regards
> Wolfgang R.
>
Previous Topic:including other dependencies?
Next Topic:[bug] M5: refactoring anon -> nested class
Goto Forum:
  


Current Time: Sun Nov 03 06:10:27 GMT 2024

Powered by FUDForum. Page generated in 0.03888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top