- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks to the tutorial here, I can debug fortran dll from Managed code in debug mode.
And we all know that we can debug managed code in release mode provided that the pdb file exists.
But is it possible to debug a fortran dll from managed code in release mode?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No reply.. anyone has any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Debugging any program requires cooperation from that program - most often in the form of the compiler and linker preparing it for debugging. So I do not think there is any possibility to do what you want.
If the DLL itself is prepared for debugging you may stand a chance, but I have no experience with that.
Regards,
Arjen
If the DLL itself is prepared for debugging you may stand a chance, but I have no experience with that.
Regards,
Arjen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the Fortran DLL project, set the property Debugging > Command to the name of the executable that will run your managed code program. Set a breakpoint in your DLL routine. Press F5 to start debugging. Your managed code program will start and, when it calls the DLL, the breakpoint should be hit.
This is not specific to managed code - you can use it with any executable (say, Excel.)
This is not specific to managed code - you can use it with any executable (say, Excel.)

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