|
Re: How to setup stepping(?) so I can see what code is executing when. [message #986108 is a reply to message #986065] |
Sun, 18 November 2012 22:45 |
|
On 11/18/2012 11:55 AM, Powermaniac ... wrote:
> Hi all,
>
> Yes newbie here.
>
> Anyway recently I've encountered some problems coding and would like to
> know whether I can activate this stepping option. Or what I perceive is
> known as stepping. Which is I want to see the code that is executing
> highlighted so I know in what order it is executing the code and how it
> is interacting with each other.
> Now I'm stuck using Eclipse HElios 3.2 as it is part of the Stanford
> course I'm doing and has the Stanford libraries installed automatically.
> So yeah just a heads up there.
>
> Anyway any help is appreciated.
> Thanks Powermaniac.
Helios is a aging, but very rock-solid release of Eclipse;you will NOT
be disappointed.
You can single step through your code with each line highlighted as you
do it. That's very basic Eclipse debugger functionality. If you wanted
to step through code that doesn't belong to you, that's a little more
difficult, but doable for the most part.
|
|
|
|
|
|
|
|
Re: How to setup stepping(?) so I can see what code is executing when. [message #986338 is a reply to message #986240] |
Tue, 20 November 2012 07:05 |
Powermaniac ... Messages: 7 Registered: November 2012 |
Junior Member |
|
|
David Wegener wrote on Mon, 19 November 2012 10:10
You appear to have a third party package installed. Searching the web
for PenumbraPackageExplorer produces references to a project that once
was hosted by Purdue university. However, the links appear to no longer
work. This plugin appears to not be compatible with the version of
Eclipse that you are running.
How did you install this plugin? You need to see if you can find an
updated version or you will need to uninstall it.
I would start with a clean version of Eclipse and not install this
plugin since it seems to be interfering with debugging.
The plugin came pre-installed with the version of Eclipse I installed. This is because I'm using there modified version of Eclipse that is provided for the course. As it is needed for the introductory assignments. There is no updated version available just what comes pre-installed.
How do I uninstall it? I shall try Googling it and hopefully I find something otherwise any instructions as to how I uninstall a plugin would be great.
I need to keep this version of Eclipse because of the other plugins that I need that it contains that I can't get else where.
Thanks, Powermaniac.
I just deleted it following these instructions: http://wiki.eclipse.org/FAQ_How_do_I_remove_a_plug-in%3F
Fingers crossed it works.
[Updated on: Tue, 20 November 2012 07:11] Report message to a moderator
|
|
|
Re: How to setup stepping(?) so I can see what code is executing when. [message #986342 is a reply to message #986338] |
Tue, 20 November 2012 07:14 |
Powermaniac ... Messages: 7 Registered: November 2012 |
Junior Member |
|
|
Okay deleting that file renders my code useless as I know longer have the karel and SuperKarel libraries...Thus I had to undelete it to get it to run the program again...
=\
Update: So I reinstalled the version of Java and the Eclipse that Stanford provides. I no longer get the Penumbra error. Instead though nothing seems to happen when I debug.
I tried following the guide in the link above and it gets me no where. It just doesn't work with the F5, F6, F7, F8 keys. And I'm not even sure what is supposed to happen. As the stepping doesn't seem to occur at all.
So...?
[Updated on: Tue, 20 November 2012 09:44] Report message to a moderator
|
|
|
Re: How to setup stepping(?) so I can see what code is executing when. [message #986459 is a reply to message #986342] |
Tue, 20 November 2012 14:17 |
|
On 11/20/2012 12:14 AM, Powermaniac ... wrote:
> Okay deleting that file renders my code useless as I know longer have
> the karel and SuperKarel libraries...Thus I had to undelete it to get it
> to run the program again...
>
> =\
So, what you're saying is that you can't just download and install
Eclipse for that course without using (what appears to be) a broken,
unmaintained auxiliary package? What are others in the course doing?
|
|
|
|
Re: How to setup stepping(?) so I can see what code is executing when. [message #986576 is a reply to message #986459] |
Wed, 21 November 2012 02:39 |
Powermaniac ... Messages: 7 Registered: November 2012 |
Junior Member |
|
|
Russell Bateman wrote on Tue, 20 November 2012 09:17
So, what you're saying is that you can't just download and install
Eclipse for that course without using (what appears to be) a broken,
unmaintained auxiliary package? What are others in the course doing?
I've fixed the problem with the broken, unmaintained auxiliary package. I thought I already mentioned that. Sorry.
I just re-downloaded the eclipse from the Stanford site, re-download the JRE they are using. Delete my current version of Eclipse while saving my work folders. Reinstalled Eclipse and the JRE and put my work folders back. And now I'm no longer getting the Penumbra error.
But instead nothing seems to happen when I run the debugger. I'm not even sure what is meant to happen. As no highlighting of the code occurs as I run it. And the F5, F6, F7, F8 keys don't do anything or don't seem to.
Basically I'm rather confused what the debugger is meant to be doing.
David Wegener wrote on Tue, 20 November 2012 09:41
Unfortunately, you probably won't be able to get much help in the
Eclipse forums. From what I've been able to learn about Karel, it
appears to be something developed by Stanford University for some of
their online courses. It was developed on top of Eclipse, but not by
the Eclipse developers. The people answering questions in this forum
aren't likely to know much about the product.
You could try contacting the instructor of the course to ask about
support for the tool.
Okay thanks anyway. I will try contacting the instructor.
Thanks again and sorry for wasting your time.
Powermaniac.
[Updated on: Tue, 18 June 2013 10:33] Report message to a moderator
|
|
|
Re: How to setup stepping(?) so I can see what code is executing when. [message #986772 is a reply to message #986576] |
Wed, 21 November 2012 15:19 |
David Wegener Messages: 1445 Registered: July 2009 |
Senior Member |
|
|
On 11/20/2012 08:39 PM, Powermaniac ... wrote:
> Russell Bateman wrote on Tue, 20 November 2012 09:17
>> So, what you're saying is that you can't just download and install
>> Eclipse for that course without using (what appears to be) a broken,
>> unmaintained auxiliary package? What are others in the course doing?
>
>
> I've fixed the problem with the brokne, unmaintained auxiliary package.
> I thought I already mentioned that. Sorry.
>
> I just re-downloaded the eclipse from the Stanford site, re-download the
> JRE they are using. Delete my current version of Eclipse while saving my
> work folders. Reinstalled Eclipse and the JRE and put my work folders
> back. And now I'm no longer getting the Penumbra error.
>
> But instead nothing seems to happen when I run the debugger. I'm not
> even sure what is meant to happen. As no highlighting of the code occurs
> as I run it. And the F5, F6, F7, F8 keys don't do anything or don't seem
> to.
> Basically I'm rather confused what the debugger is meant to be doing.
Again, Karel is a Stanford product. We don't know what their debugger
does or how to use it. Your best bet is to consult the Stanford site
for their support options and ask there.
|
|
|
Powered by
FUDForum. Page generated in 0.08158 seconds