Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006660 [Squeak] Tools minor always 09-04-07 08:30 04-09-09 18:13
Reporter Dionisiy View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.10
Summary 0006660: "Through" button in Debugger
Description "Through" button in Debugger does not work correct for expressions like:

 [:a | a + 2] valueWithArguments: #(4 ).

this block is executed.

But expression:

 [:a | a + 2] value: 4.

works ok - block will start to debug.

I found reason in

ContextPart>>doPrimitive: primitiveIndex method: meth receiver: receiver args: argument

It checks primitive index for method under debug and choose how it must be performed.
But index 82 (#valueWithArguments primitive) is absent.
Additional Information
Attached Files  FixForDebugBlockValueWithArguments.st [^] (2,519 bytes) 09-04-07 08:30

- Relationships

- Notes
(0011092 - 53 - 65 - 65 - 65 - 65 - 65)
edgardec
09-04-07 11:24

Dionisiy:

If you add some test, I put into updates
 
(0011093 - 243 - 301 - 301 - 301 - 301 - 301)
Dionisiy
09-04-07 12:11

manual test for this bug:
1). debug expression "[:a | a + 2] valueWithArguments: #(4 )" (in workspace)
2). press "through" button in debugger
3). now "debug cursor" go into block "[:a | a + 2]". But when bug doesn't fix block just evaluated
 
(0012821 - 55 - 55 - 55 - 55 - 55 - 55)
KenCausey
12-01-08 23:06

Harvested as update 7154 and released with Squeak 3.10.
 

- Issue History
Date Modified Username Field Change
09-04-07 08:30 Dionisiy New Issue
09-04-07 08:30 Dionisiy File Added: FixForDebugBlockValueWithArguments.st
09-04-07 11:24 edgardec Note Added: 0011092
09-04-07 12:11 Dionisiy Note Added: 0011093
10-09-07 20:37 edgardec Status new => resolved
10-09-07 20:37 edgardec version  => 3.10
12-01-08 23:06 KenCausey Status resolved => closed
12-01-08 23:06 KenCausey Note Added: 0012821
12-01-08 23:06 KenCausey Resolution open => fixed
12-01-08 23:06 KenCausey Fixed in Version  => 3.10
04-09-09 18:13 KenCausey Category Debugger => Tools


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
50 total queries executed.
37 unique queries executed.
Powered by Mantis Bugtracker