Bug 235251 - [tcf][api] runcontrol support for complex resume modes
Summary: [tcf][api] runcontrol support for complex resume modes
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.2   Edit
Assignee: Felix Burton CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-06-02 21:01 EDT by Felix Burton CLA
Modified: 2013-06-05 08:01 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Burton CLA 2008-06-02 21:01:51 EDT
The runcontrol service does not all addition of complex resume modes, like for example STEP_OVER_RANGE and STEP_INTO_RANGE since such resume modes require more argument than currently defined by the resume command.  Solutions:

1. enhance "resume" command to take an additional argument of object type that allows for additional information.  All currently defined resume modes would simply pass a null argument.

2. add another resume command, e.g. "resume2" with the extra argument.

I would prefer option #1.

Other oppinions?
Comment 1 Felix Burton CLA 2009-06-21 19:43:03 EDT
This was discussed in the power.org debug group and the suggestion is to add an optional property argument to the resume command.  To maintain backwards compatibility, the extra argument would only be provides for resume modes that needs it.

Proposed new resume modes:

- RM_STEP_OVER_RANGE = 12 - step over instructions until PC is outside the specified range. If any function call within the range is considered to be in range.
- RM_STEP_INTO_RANGE = 13 - step instruction until PC is outside the specified range for any reason.
- RM_REVERSE_STEP_OVER_RANGE = 14 - Reverse of RM_STEP_OVER_RANGE 
- RM_REVERSE_STEP_INTO_RANGE = 15 - Reverse of RM_STEP_INTO_RANGE 
Comment 2 Eugene Tarassov CLA 2009-06-22 14:47:00 EDT
Changed docs, agent and Java client code to support optional property argument to the resume command.
Comment 3 Martin Oberhuber CLA 2010-05-28 14:11:17 EDT
Bulk update: Marking all TCF fixes from the Galileo period (Jun-2008 until Jun-2009) target 3.1 since they were done along with the TM 3.1 release.
Comment 4 Doug Schaefer CLA 2011-05-17 10:49:20 EDT
Moving bugs to new home for IP log.
Comment 5 Martin Oberhuber CLA 2013-06-05 06:26:45 EDT
Bulk change: Marking all bugs from the TM era (until June 2011) target 0.3