• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere Studio debugging, Drop to selected frame

 
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the past, I built Java applications using IBM VisualAge for Java. The VisualAge debugger had a feature called "Drop to selected frame"

Presently, I am using Websphere Studio 5.1.1

Does Websphere Studio's debugger have the "Drop to selected frame" feature?
 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The underlying Ecipse debug API's provide a "drop to frame" capability.

Does Websphere Studio's debugger allow me to drop to a frame?

org.eclipse.jdt.debug.core.IJavaStackFrame

public void dropToFrame()
throws DebugException

Drops to this stack frame by popping frames in this frame's owning thread until this stack frame is the top stack frame. The execution location is set to the beginning of this frame's associated method.

public boolean supportsDropToFrame()

Returns whether this stack frame currently supports the drop to frame operation. Note that not all VMs support the operation.

Returns:

whether this stack frame currently supports drop to frame
 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Websphere Studio 5.1.1 documentation describes the "Drop to frame" feature:

---
Context menu: Drop to Frame

This command lets you drop back and reenter a specified stack frame. This feature is similar to "running backwards" and restarting your program part-way through.

To drop back and reenter a specified stack frame, select the stack frame that you want to "drop" to, and select Drop to Frame from the context menu.

Some caveats apply to this feature:

You cannot drop past a native method on the stack.
Global data are unaffected and will retain their current values. For example, a static vector containing elements will not be cleared.
Note: This command is only enabled if the underlying VM supports this feature.
---

I using the Websphere 4.0 Test Environment. I'd like to be able
to use the "Drop to frame" feature while debugging a 4.0 application.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic