Community
Participate
Working Groups
In EDT 0.7 we support four forms of the move statement: move a to b; move a to b for c; move a to b for all; move a to b byName; Java support for the statement is being done under bug 353670. When it's finished, the debugger will need to deal with the statement properly. Of the four forms of the statement listed above, the first will probably result in one line of generated code, the second and third will be generated as loops, and the fourth will be generated as zero or more assignments.
Jeff - the only thing that needs to be done for this is a small change to the SMAP generation for "move a to b for c;" or "move a to b for all;" Given: arr1 int[] = [1,2,3]; arr2 int[] = new int[3]; move arr1 to arr2 for all; The SMAP for the move statement is: 18#1:40 But the generated code is a FOR loop that's 4 lines of Java code. The SMAP should be: 18#1:40,4 Otherwise a stepInto on the statement must be done once for each iteration.
smap numbering fix done
Verified