> I believe Eclipse has the feature you want, just well hidden. I learned
> about it only a few months ago (I believe it was on this list).
>
> If you are stepping through code, you can open the context menu of any
> frame in the stacktrace of the "Debug" window and call "Drop to Frame".
> That takes your code back one level.

For those of you using NetBeans that feature is there as well; either
right click
directly on stack frames, or use the Debug > Stack menu.

I wrote about how to use stack popping as an "undo" in debugging a
while ago:
http://blogs.sun.com/tor/entry/code_advice_4_undo_debugging
(but the plugin listed there is most likely obsolete now)

> Edit-n-
> > continue is also a rather nice feature
>
> Which Eclipse has: just change the code and save during a debugging
> session. If there are no structural changes (method signatures, static
> members and the like), then the code will be replaced in the running JVM.> 
> just as being able to see the
> > generated byte-code while stepping can be very handy.

Also there in NetBeans (with the same caveats). I believe in projects
where Compile on Save
is enabled Fix & Continue also happens on Save; for other projects use
the Apply Code Changes
action in the toolbar.

> code hygiene features (check out the "Save Actions"), and AFAIK VS just
> can't compete with that. They are the main reasons I don't use NetBeans
> as my default IDE, which is much more elegant in many ways.

I took a brief stab at implementing save actions; it was pretty easy
to make it format and
apply imports on save. But as I looked around I see that the Save
Actions you're referring
to has some other things you can do too, like removing unnecessary
casts etc. This is
only available as part of the quickfix machinery which isn't language
agnostic like the rest
of this stuff, so it would take a bit more time.

-- Tor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to