Detect Debug Exes
-
Hey... Got a question about detecting debug vs. release configurations. I am working with an app at work that gave me an assertion error the other day. It included the filename and the line number in the error message. This would mean that the EXE we got from the vendor was compiled with DEBUG flags on. (I'm sort of a newbie (6 months as a convert from VB6).) My question is... is there any way to tell whether an exe or dll was compiled with Win32 Debug configuration without opening in a hex editor and looking for extra symbols? (I'm trying to see if I can automate the process for a software test team.) Thanks! Tojam
-
Hey... Got a question about detecting debug vs. release configurations. I am working with an app at work that gave me an assertion error the other day. It included the filename and the line number in the error message. This would mean that the EXE we got from the vendor was compiled with DEBUG flags on. (I'm sort of a newbie (6 months as a convert from VB6).) My question is... is there any way to tell whether an exe or dll was compiled with Win32 Debug configuration without opening in a hex editor and looking for extra symbols? (I'm trying to see if I can automate the process for a software test team.) Thanks! Tojam
one thing i would do is that open the exe or the dll with dependency walker and find anything that depends on debug dlls like mfc42d.dll or mfc42ud.dll if it does then this binary was build in debug version.
-
Hey... Got a question about detecting debug vs. release configurations. I am working with an app at work that gave me an assertion error the other day. It included the filename and the line number in the error message. This would mean that the EXE we got from the vendor was compiled with DEBUG flags on. (I'm sort of a newbie (6 months as a convert from VB6).) My question is... is there any way to tell whether an exe or dll was compiled with Win32 Debug configuration without opening in a hex editor and looking for extra symbols? (I'm trying to see if I can automate the process for a software test team.) Thanks! Tojam
Well if you want, you can search on the net for Windows PE file Specification, and according to it ".exe" file compiled with debug information will have ".debug" section. If you find this section, this means your ".exe" file has dubug information included. Best Regards, Bilal Anjum