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

Debugging DLLs called via Mathmetica .Net/Link (CVF .. and Intel?)

Peter_A_1
Beginner
669 Views
I am writing DLL's inCVF 6.6 and calling them via
.Mathematica and Net/Link. I wish to Debug the Fortran

For Excel calling the DLLs, one launches Excel from the debugger. Or one can also attach to already running processes. I have, however, had no success with Mathematica/.Net/Link.

(this is also posted on comp.soft-sys.math.mathematica)

Also, I have an unopened new copy of the Intel F95 compiler. Will this be better?
0 Kudos
3 Replies
Steven_L_Intel1
Employee
669 Views
Not being familiar with how Mathematica calls the DLL, I don't know what is wrong nor could I reasonably suggest that Intel Fortran would be better. I have successfully debugged Intel Fortran DLLs called from VB.NET, but this was all inside the Visual Studio IDE.
I would guess that the problem, whatever it is, is not unique to Fortran and would also apply to calling unmanaged DLLs writtem in other languages. Therefore, your pursuit of this among Mathematica users is likely to be helpful.

Message Edited by sblionel on 08-24-2004 09:17 AM

0 Kudos
Peter_A_1
Beginner
669 Views
 
 
Steve, I am using Visual Studio IDE and I am sure you would have cracked it is seconds as it was just 'finger trouble".
(1)just attach to process "InstallableNET.exe" (Wolfram Research/ Mathematica suggested this)
(2)Edit | Breakpoints and key in my routine - the routine appears ready to debug
 
This successfuly debugs DLLs calledthus:
Mathemica(with.Net/Link) -> .Net (c#?) -> the DLLS
 
Thanks, Peter

Message Edited by peter_aptaker on 08-31-2004 10:09 AM

0 Kudos
Steven_L_Intel1
Employee
669 Views
Glad to hear it. I have never myself done this combintion, so I doubt I would not have "cracked it in seconds". I have mixed VB.NET and Visual Fortran in a "solution" and debugging was trivial.
0 Kudos
Reply