About debugging a 64bit program?

We are debugging our 64bit program now.Because we have some C++ codes and some Fortran codes,so I choose to use Windbg.But I met a problem with it: I can debug a very simple 64bit program , but when I tried a complex one I found I can't set a breakpoint.I got an error "code not fount,breakpoint not set", what should I do?
[325 byte] By [hupo1982] at [2008-3-3]
# 1
I had the same problem years ago (on a Itanium), I resolved the issue by doing the following :
1 * Make sure you have all the PDB matching your dll and exe.
2 * Copy them along with the dlls
3* if it still does not work, launch your app, "attach" to and break.

Thx !

MarcCauchy at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....

.NET Development

Site Classified