- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I've just had an occurrence of the No Debugging Information dialog appearing. I may have correupted it by pressing Cntl+F10 whilst I was already in a debug session. Anyway it won't debug now despite doing a Build Solution. I'm currently trying a Rebuild Solution to see if that works .......... No - that didn't work so I don't understand what I've done. Any help would be gratefully received.
- Etiquetas:
- Intel® Fortran Compiler
1 Solución
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Well, the warning messages from the linker are pretty clear that it did not find the debug info from VC90.pdb and therefore assumed there was none. I'm not sure what happened there, but I also see other linker complaints, such as duplicate objects and conflicting libraries that you should resolve. I am also uncomfortable with the settings to ignore libraries such as IFCONSOL and IFQWIN in the linker options - if you configured your project properly those should not be necessary.
Enlace copiado
10 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Are you in a Release or Debug configuration? Please attach the build log from a Rebuild.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I have just restarted VS(2008) and the debugging information has mysteriously returned so a MS rather than an Intel issue!!
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Well, the warning messages from the linker are pretty clear that it did not find the debug info from VC90.pdb and therefore assumed there was none. I'm not sure what happened there, but I also see other linker complaints, such as duplicate objects and conflicting libraries that you should resolve. I am also uncomfortable with the settings to ignore libraries such as IFCONSOL and IFQWIN in the linker options - if you configured your project properly those should not be necessary.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thanks for looking at this Steve and for the extra comments. I can't recall why I set the ignore libraries on IFCONSOL and IFQWIN except that I suspect it was advice I obtained when adding some proprietary library. I'll remove them and see what happens. This is a really interesting learning experience and I'm luck that the members of this forum are so helpful. Thanks to all. ACAR.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I've removed the IFCONSOL and IFQWIN from the Ignore Libraries switch in the linker options and the application links and runs as previously. Presumably if the linker was told to ignore them and the application ran then it is making no use them so I wonder Steve why you were uncomfortable with them being ignored?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
When a build generates a large number of warnings, and the resulting program does not perform correctly (or as expected), the reasons for the latter could be either not-yet-discovered reasons/bugs in the source, or they could be because there is no longer a one-to-one correspondence between source files and the code that they contribute to the application executable.
The detritus from old builds needs to be cleaned out, and the project file or makefiles need to be fixed up such that
(i) module files reflect changes in the sources, and source codes where explicit interfaces are being used show correct interfaces.
(ii) code in the object file was generated from the source code as the latter is now, rather than being left over from an earlier compilation.
If your build process overuses the ability to ignore warnings, once the project complexity crosses a certain level some of those ignored warnings may be costing you quite a bit in terms of effort and frustration.
The detritus from old builds needs to be cleaned out, and the project file or makefiles need to be fixed up such that
(i) module files reflect changes in the sources, and source codes where explicit interfaces are being used show correct interfaces.
(ii) code in the object file was generated from the source code as the latter is now, rather than being left over from an earlier compilation.
If your build process overuses the ability to ignore warnings, once the project complexity crosses a certain level some of those ignored warnings may be costing you quite a bit in terms of effort and frustration.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I am uncomfortable with "ignore library" settings as those are usually a reaction to some previous error message where the real solution is to properly configure the project. Ignoring libraries often hides other problems that may be difficult to diagnose. There should never be a reason to ignore libifqwin, for example - if there is a reference to that it means some source was compiled to use QuickWin.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Yes - I think it is time for a bit of reorganisation!!
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Okay. Thanks for that.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla