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

Unable to debug into subroutines with assumed shape array dummy arguments

ingo_berg
Beginner
514 Views

I seem to be unable to debug into subroutines that take assumed shape arrays as dummy arguments. The debugger halts the execution but i get no indication of the current position in the source code. The compiler does not switch to the source code and it does not show the yellow arrow. Continuing the program flow with F5 is possible.

I have submitted this as Issue 288396 but according to the premier support it is not reproduceable. Can anyone confirm that this problem exists? I have attached a demo project that demonstrates it:

Place a breakpoint at line 42 that callssuStrTok in Main.f90 and try to debug into the subroutineusing F11.

Alternatively p

lace a breakpoint anywhere in the subroutine suStrTok

Neither one works for me. The problem exists in the beta for version 9.0 as well.

0 Kudos
4 Replies
ingo_berg
Beginner
514 Views
The code should be attached here...
0 Kudos
forall
Beginner
514 Views
yep - i can reproduce the problem. In my case it eventually asks for a file crt0.c.
If I place a breakpoint inside "suStrTok" then VS crashes altogether (or at least hangs for longer then I can wait).
0 Kudos
ingo_berg
Beginner
514 Views
So it's not my installation... Thank you for your effort.
0 Kudos
Steven_L_Intel1
Employee
514 Views
I can reproduce it as well. I'll let the support engineer handling this know.
0 Kudos
Reply