[nem-bug] [Nemerle 0000821]: Can't set breakpoint on return value

feedback at nemerle.org feedback at nemerle.org
Thu Jan 11 23:50:22 CET 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=821> 
======================================================================
Reported By:                VladD2
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   821
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             01-09-2007 09:10 CET
Last Modified:              01-11-2007 23:50 CET
======================================================================
Summary:                    Can't set breakpoint on return value
Description: 
public FoldLeft [A, B] (this source : SCG.IEnumerable [B], mutable ini : A,
f : B * A -> A) : A
{
  foreach (value in source)
    ini = f(value, ini);
  
  ini // Can't set breakpoint here!
}
======================================================================

----------------------------------------------------------------------
 nazgul - 01-11-07 23:50 
----------------------------------------------------------------------
Fixed on trunk.

BTW. if you have some good reference on how csc emits sequence points,
please post. Now there is a problem that for:

def x = "aaa";
foo ([1,2,3], x);

debugger jumps to the 'x' reference, but I guess such simple local value
references should not be marked.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-09-07 09:10 VladD2         New Issue                                    
01-11-07 23:50 nazgul         Status                   new => resolved     
01-11-07 23:50 nazgul         Resolution               open => fixed       
01-11-07 23:50 nazgul         Assigned To               => nazgul          
01-11-07 23:50 nazgul         Note Added: 0001602                          
======================================================================




More information about the bugs mailing list