Bug 3700 - Line Stepping one-line-loopers should loop until user stops
Summary: Line Stepping one-line-loopers should loop until user stops
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 2935 3346
  Show dependency treegraph
 
Reported: 2006-12-11 21:36 UTC by Mike Cvet
Modified: 2007-03-22 15:10 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cvet 2006-12-11 21:36:23 UTC
Currently after 8 instructions have been executed and the line number of the 
task does not change, RunState considers the task to be looping on a single 
line and stops. 

The behaviour should be that RunState will continue attempting to change the 
line number until the user explicitly tells it to stop, via the SourceWindow.
Comment 1 Mike Cvet 2007-03-22 15:10:03 UTC
2007-03-22  Mike Cvet  <mcvet@redhat.com>

	* RunState.java (lineCountMap): Removed. Fixes #3700.
	(RunState): Removed above HashMap. Line stepping a one-line
	looper will now continue to loop until a user-requested stop.
	(setUp): Removed above HashMap.
	(setUpLineStep): Ditto.
	(stepIn): Removed code assuming lines have a finite number of
	instructions to step.
	* TestRunState.java (setUpTest): Step only the main Task.
	(stepAssertions): Removed references to signal-thread looping.