Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Displaying statement rather than line when debugger stops


Agreed. API needs to be added to IStackFrame for #getCharStart() and #getCharEnd(). I will add the API.

Darin



boxall@xxxxxxxxxx
Sent by: platform-debug-dev-admin@xxxxxxxxxxx

01/16/2002 03:26 PM
Please respond to platform-debug-dev

       
        To:        platform-debug-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-debug-dev] Displaying statement rather than line when debugger stops


When the debugger stops we need to have the statement marked not the whole
line.   Similar to what VAJ used to do.

For this to happen,
org.eclipse.debug.internal.ui.DebugView.showMarkerForCurrentSelection()
needs to change.  Currently this function just asks the stackframe for the
current line and then passes -1 for the charStart and charEnd parameters of
openEditorAndSetMarker().



Maybe showMarkerForCurrentSelection() could also ask the stackframe for the
charStart and charEnd values (new methods would be required for this) and
then pass these stackframe supplied values to openEditorAndSetMarker()
instead of -1.



Alan Boxall - IBM Distributed Debugger

_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev



Back to the top