Debugging question.. [message #23111] |
Tue, 01 February 2005 22:53  |
Eclipse User |
|
|
|
Originally posted by: gtg843y.mail.gatech.edu
I've been trying to write a small applet for a class at school and I'm
having trouble with debugging it.
Basically I have a (long) array of points that I'm trying to do a simple
graph of. I'm fairly sure that my code is working to generate the
correct points, but I still cannot get it to draw to the specified
Graphics object.
To check this, I thought I could run in Debug perspective and see the
list of variables that my applet is using. Specifically, I want to see
the raw array of points to find out if the algorithm is the problem, or
otherwise, see if my GUI code is the problem.
The Variables view in Debug perspective contains no data whatsoever when
I run via debug. Is there something I need to do to see this? Or am I
wishfully thinking?
I've been digging around the eclipse help docs with no luck. Thank you
for the help in advance :)
Sam
|
|
|
|
Re: Debugging question.. [message #23273 is a reply to message #23265] |
Wed, 02 February 2005 00:36   |
Eclipse User |
|
|
|
I'm getting a similar problem. With just some of my classes, when the
debugger reaches the class, I get a popup error, the title of the popup
window is "Update Debug View" and the content is a red cross and the
word "error". Not the most informative of errors.
After this happens, the variable view is blank (although the scroll bars
get bigger or smaller as the amount of variables change) and I have to
manualy click on the topmost item in the Debug view to get to the
current location of the debugger.
Dan.
Kevin Barnes wrote:
> Did you set a breakpoint where you want your program's execution to
> stop? There are no known bugs that cause the variables view to be empty
> (I use it every day).
> Kevin
>
> Sam wrote:
>
>> I've been trying to write a small applet for a class at school and I'm
>> having trouble with debugging it.
>>
>> Basically I have a (long) array of points that I'm trying to do a
>> simple graph of. I'm fairly sure that my code is working to generate
>> the correct points, but I still cannot get it to draw to the specified
>> Graphics object.
>>
>> To check this, I thought I could run in Debug perspective and see the
>> list of variables that my applet is using. Specifically, I want to
>> see the raw array of points to find out if the algorithm is the
>> problem, or otherwise, see if my GUI code is the problem.
>>
>> The Variables view in Debug perspective contains no data whatsoever
>> when I run via debug. Is there something I need to do to see this?
>> Or am I wishfully thinking?
>>
>> I've been digging around the eclipse help docs with no luck. Thank
>> you for the help in advance :)
>>
>>
>> Sam
|
|
|
|
|
Re: Debugging question.. [message #23756 is a reply to message #23273] |
Wed, 02 February 2005 15:01  |
Eclipse User |
|
|
|
This is unexpected. If there is an error in your log, or you have a
reproduceable test case, please file a bug against the JDT debugger.
Thanks,
Darin
"Dan Simmonds" <danoxster@gmail.com> wrote in message
news:ctpot0$1u5$1@www.eclipse.org...
> I'm getting a similar problem. With just some of my classes, when the
> debugger reaches the class, I get a popup error, the title of the popup
> window is "Update Debug View" and the content is a red cross and the word
> "error". Not the most informative of errors.
>
> After this happens, the variable view is blank (although the scroll bars
> get bigger or smaller as the amount of variables change) and I have to
> manualy click on the topmost item in the Debug view to get to the current
> location of the debugger.
>
> Dan.
>
> Kevin Barnes wrote:
>> Did you set a breakpoint where you want your program's execution to stop?
>> There are no known bugs that cause the variables view to be empty (I use
>> it every day).
>> Kevin
>>
>> Sam wrote:
>>
>>> I've been trying to write a small applet for a class at school and I'm
>>> having trouble with debugging it.
>>>
>>> Basically I have a (long) array of points that I'm trying to do a simple
>>> graph of. I'm fairly sure that my code is working to generate the
>>> correct points, but I still cannot get it to draw to the specified
>>> Graphics object.
>>>
>>> To check this, I thought I could run in Debug perspective and see the
>>> list of variables that my applet is using. Specifically, I want to see
>>> the raw array of points to find out if the algorithm is the problem, or
>>> otherwise, see if my GUI code is the problem.
>>>
>>> The Variables view in Debug perspective contains no data whatsoever when
>>> I run via debug. Is there something I need to do to see this? Or am I
>>> wishfully thinking?
>>>
>>> I've been digging around the eclipse help docs with no luck. Thank you
>>> for the help in advance :)
>>>
>>>
>>> Sam
|
|
|
Powered by
FUDForum. Page generated in 0.07622 seconds