I’ll give that a try. Thanks for the suggestion, Greg.
From: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx]
On Behalf Of Greg Watson
Sent: Monday, February 06, 2017 12:16 PM
To: Photran Information <photran@xxxxxxxxxxx>
Subject: Re: [photran] How to debug a Fortran DLL in Eclipse/GDB
My bad for not reading carefully enough. Does it fail if you load the DLL from a GFortran executable? Maybe that's worth testing since it would be easier to debug.
Greg
You may have misunderstood my question. The DLL is written in GFortran, not in VB.Net.
It is being loaded/called by a VB.Net executable.
I’ll repost the question on the CDT forum, though.
My suggestion would be to ask this question on the CDT forum, since this is more about how to get the CDT debugger working with a VB.Net DLL
rather than anything to do with Fortran. Presumably the same issue would exist for C/C++ or other languages.
I have built a DLL using Eclipse (Mars) and GFortran (5.3.0). The DLL is called by a VB.Net application,
but is failing somewhere inside the DLL. The DLL is compiled to include debug symbols.
Is there a way to bring up the DLL in the Eclipse debugger? How do I attach the debugger to my DLL, given that the DLL doesn’t start running until the VB.Net program
calls it? I have GDB 7.6.1 installed.
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/photran
|