Profilo di wenjiangmorning's blogFotoBlogElenchiAltro ![]() | Guida |
|
|
18 settembre Using the Optimizing VC7 compiler with the VC6 IDE,with DEBUGGINGUsing the Optimizing VC7 compiler with the VC6 IDE,with DEBUGGING 2009.09.18 from the source of atl/mfc in vc7x series,wo can see something interesting,that vc7 is able to output pdb files in the format used in vc6,the options is as following: however,vc7 toolset refuse the options if we add to commandline. prepares: start patch: 2. modify the linker
4.in link.exe,search the string ?Open@PDB@@SAHPBD0KPAJQADPAPAU1@@Z ,and change it to ?Open@PDB@@SAHPAD0KPAJQADPAPAU1@@Z 5.copy the mspdb60.dll v6.2 to bin folder. all done.now you can new a console project, and build the debug configuration,open the output file in a hex editor,you can find the signature of the old pdb format,"NB10",set a break in the function "main",and press F5, after break,you can see variables,callstack,and etc.
Commenti (1)Per aggiungere un commento, accedi con il tuo Windows Live ID (se utilizzi Hotmail, Messenger o Xbox LIVE possiedi già un Windows Live ID). Accedi Non hai ancora un Windows Live ID? Registrati
RiferimentiL'URL di riferimento per questo intervento è: http://ywjheart.spaces.live.com/blog/cns!2067FCA683114503!890.trak Blog che fanno riferimento a questo intervento
|
|
|