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

conditional expression of debugger

chljl
Beginner
648 Views
I have used CVF for a while. I canset the conditional breakpoint with logical expression. eg., if I want to program stop at "i=10 and j=10", I just set "i.eq.10.and.j.eq.10", or, "i==10.and.j==10" in breakpoint condition and it works.
Now I use intel fortran. I don't know how to set this expression. I tried a lot and found "i=10" works but the ".and." cannot be set whenever I use ".and.", "and", "&", "&&"...
What should I use?
0 Kudos
1 Reply
wu_internet
Beginner
648 Views
First of all, I have not fully understood yet. After many times of try, the following is a little bit of my experience:
1. Theorectically, you can do the same type of conditional debug as you did in CVF. the way to set up the break up is very much the same as in CVF apart from for scalar variable, you should use the capital letter, for array member, you'd better use the address, which you can find from the "immediate" window. You will find the full explanation on how to set up the break point in the user guide of IVF.
2. There is still bugs when using studio 2002 with IVF 8.1.021. in the watch window you display some value of vaiable, but it'sdisplaying something else, this is an awful bug, it happens randomly, I can not reproduce with confidence yet, therefore, I can not report the bug. This one was reported in the past when IVF is still in 8.0 stage. It looks like OK in 2003 IDE.
3. In CVF, the data change break point both works for local as well as global variable. In IVF, it mostly work for global variable, occasionally work for local, but it is extremely deadly slow in execution.
Although my experience looks quite negative, in reality, it actually can do most of the jobs already.
David
0 Kudos
Reply