开发者

What is the difference between the various compiler debug flags?

I have found the list of ifort debug flags. However, I am开发者_JAVA百科 confused about some explanation of debug flags. As it stated, -debug can be configured as all, full, minimal and none. May I ask what's difference between "-debug all" and "debug full" ? Which one contain more debug information?

When I use idb GUI to debug a fortran executable file, I can only set my breakpoints at some line not all of them. I wonder if it is due to level of the debug information so only some lines in source codes have been associated to the line number table in the object files. If so, how can I associate with every line in source files to my objects files?


If we disregard possible differences in versions, /debug:full and /debug:all seem to be equivalent. They generate complete debugging information ... it is also the same as just specifying /debug with no keyword. /debug:full is the default setting in the debug configuration in the Windows IDE).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜