- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello!
Is it possible to debug a dll or generate a core dump file in windows? I call the Fortran-dll from IDL (interactive data language). I need it because my written dll crashes anywhere and anytime.
I hope, that someone can help me.
Thanks, Hannes
Is it possible to debug a dll or generate a core dump file in windows? I call the Fortran-dll from IDL (interactive data language). I need it because my written dll crashes anywhere and anytime.
I hope, that someone can help me.
Thanks, Hannes
- Marcas:
- Intel® Fortran Compiler
Link copiado
6 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Yes. Right click on your DLL project and select Properties, Debugging. In the path to execute, put the path to the EXE that calls your DLL. Set a breakpoint in your DLL routine(s) and then press F5 to start debugging. Your program will load, and when it calls the DLL the breakpoint will be hit.
Make sure that the DLL being invoked is the Debug build result.
Make sure that the DLL being invoked is the Debug build result.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Quoting - Steve Lionel (Intel)
Yes. Right click on your DLL project and select Properties, Debugging. In the path to execute, put the path to the EXE that calls your DLL. Set a breakpoint in your DLL routine(s) and then press F5 to start debugging. Your program will load, and when it calls the DLL the breakpoint will be hit.
Make sure that the DLL being invoked is the Debug build result.
Make sure that the DLL being invoked is the Debug build result.
Thanks for your help, but I get following error message, when I press F5 to start debugging:
"Visual Studio cannot debug because a debug target has not been specified."
Is it correct, when I set in the Debugging Properties of my DLL project in the Field "Working Directory" my path where I copied my dll into the folder where my exe-file is located? And I only have to copy the debug dll in the folder where the exe-file is located?
Have I to do other settings?
Thanks, Hannes
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Quoting - hgr_iwf
Thanks for your help, but I get following error message, when I press F5 to start debugging:
"Visual Studio cannot debug because a debug target has not been specified."
Is it correct, when I set in the Debugging Properties of my DLL project in the Field "Working Directory" my path where I copied my dll into the folder where my exe-file is located? And I only have to copy the debug dll in the folder where the exe-file is located?
Have I to do other settings?
Thanks, Hannes
Hannes,
I haven't tried this, but I think you would be better using the debug version of the DLL insitu in the folder where it was created through Visual Studio. Add this folder to your PATH so that the .exe file can find it.
I think this will work better than trying to move the DLL, or elase VS won't know where it (and other files it needs) are.
Regards,
David
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Sorry, I misremembered the field to set. It is "Command" under Debugging. Put the full path to the executable there.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Quoting - Steve Lionel (Intel)
Sorry, I misremembered the field to set. It is "Command" under Debugging. Put the full path to the executable there.
Is it only possible to debug it with an exe-file? The problem is that I cannot generate an exe-file. I only can execute my source code with the programming environment of IDL.
kind regards,
Hannes
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Put in the path to the EXE that starts the IDL environment.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora