- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My project is a .NET front end calling a Fortran COM Server (generated with the COM Server wizard) via COM-Interop.
In IVF 12.1, I could debug into the COM Server and watch Fortran variables. After migrating to IVF 14.0, I can see some variables in the debugger but they have C semantics, e.g. type "long" rather than INTEGER(4). Allocatables or pointer targets are not viewable. Reading elsewhere I guess this means the Fortran Expression Evaluator (fee.dll) is not loaded.
I can successfully debug simpler projects where the Fortran code is statically linked.
Is there some way to kick-start the Fortran Expression Evaluator?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See if this fixes it. In Visual Studio, select Tools > Options > Debugging > Edit and Continue. Uncheck "Enable native Edit and Continue". This option disables any non-Microsoft debugger support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try 15.0. Or 14.0 Update 4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I finally found a solution and will put a simple description here just in case it is useful.
If your calling project is C++ or C++/CLI, go to Project Properties->Configuration Properties->Debugging and set Debugger Type = Native Only.
Note, that setting is in the calling project, i.e. the project that calls your Fortran DLL, not in the Fortran project itself. For C++/CLI, this setting will limit the ability to debug in C++ code, switch the setting back to Debugger Type = Auto when you need to do this.
If your calling project is C#, go to Project Properties->Debug and check the option Enable Native Code Debugging.
Fortran expression evaluation comes good when the above settings are in place.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page