- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
10 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you in a Release or Debug configuration? Please attach the build log from a Rebuild.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have just restarted VS(2008) and the debugging information has mysteriously returned so a MS rather than an Intel issue!!
- 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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes - I think it is time for a bit of reorganisation!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay. Thanks for that.
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