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

How to call function within the debugger?

Morales__Juan
Beginner
1,145 Views
On Linux it is possible to call a function from within the debugger, either idb or gdb? Does anybody knows how to do this within DevStudio?
I have internal routines that when called from the debugger can do additional output/calculations to help with the debugging process.. They work well on Linux(gdb+g77/pgdebug+pgf90)/AIX/HPUX/IRIX but I have not found a way to do this on Windows..
Is there a "DevStudio API" or alikethat allows such a functionality?
Thanks in advance,
Juan Carlos
0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,145 Views
There is no way we know of to do this in the context of the DevStudio debugger.
0 Kudos
Lorri_M_Intel
Employee
1,145 Views

I hate to disagree with Steve, but ...

You can put a call in the WATCH window, and it displays its output to the command window created as part of the debugging session.

- Lorri

0 Kudos
Steven_L_Intel1
Employee
1,145 Views
Oh, I love it when you disagree me like that! :smileywink: Always glad to hear that something is possible. I assume this is new with VS.NET, because I'm pretty sure it wouldn't work in CVF.
0 Kudos
Reply