Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 Discussions

Help...How to set a data breakpoint in .Net (Debug)?

wu_internet
Beginner
376 Views
In CVF, when we are doing the debug, we setthe following data breakpoint: when 'XX' {length:XX} changes. The XX can be local or global variable. The effect of this is whenever the XX changes its value, it stops immediately after the place it changed its value.
Now I am trying to do the same thing in IVF8.0 + .net2002 studio. The user guide of the IVF volume I told me that I have to use the syntax of C++ to do this kind of point point setting. However, the conditional it provide including the evaluation of expression or the change of values. I followed the instruction and never had a chance of lucky yet. I copied a snippet here to let you guys tell me how to do it.
PROGRAM SQUARES
INTEGER INARR(10), OUTARR(10), I, K
N = 5
DOI = 1, 5
INARR(I) = I
ENDDO

! Square all nonzero elements and store in OUTARR.
K = 0
DO I = 1, N
OUTARR(I) = INARR(I)**2
K = I
END DO
END PROGRAM SQUARES

The breakpoint in CVF is: when 'K' (length:1) changes. The effect is whenever the loopindex I changed, K will change, and immediately the execution will break. Anyone can help me out to do it in IVF8+,Net2002, could you please share your success???

Regards,

David

Message Edited by wu_internet on 04-30-2004 02:54 AM

0 Kudos
0 Replies
Reply