Hello everybody,
I am not able to debug into the OpenSSL library(openssl-0.9.8a) with my Microsoft Visual C++ .net IDE. As mentioned in the INSTALL.W32 I have add 'debug' to the mk1mf.pl lines in the do_* batch file. I am using do_masm.bat. I have obtained the out32dll.dbg folder with 30 *.pdb files and 2 *.dll files without any errors during creation. I use these pdb files with my applications by coping the pdb files and the dll files to my application directory where my .exe file is located(In fact I think I just need copy libeay32.pdb and ssleay32.pdb, right?). I also set up the including directory and the additional dependency to including the OpenSSL headers and dlls, and my code can run without any problem.
But I am not able to step into the openssl codes. For example, if I try to step into code SSL_set_connect_state(m_pSSL); Instead of go inside the function SSL_set_connect_state(), it just steps over. 
If I set a breakpoint into the OpenSSL source code, the breakpoint is question marked and the hint will say that:
        The breakpoint will not currently be hit. No executable code is currently loaded at this location. 
But during my application execution, I got:
'alfssl2_server.exe': Loaded 'C:\Jie\vscode\alfssl2_work_client\Debug\ssleay32.dll', Symbols loaded.
'alfssl2_server.exe': Loaded 'C:\Jie\vscode\alfssl2_work_client\Debug\libeay32.dll', Symbols loaded. 
My application is running in debug mode, in my applicatioin’s project properties, 
Debug Information Format is: Program Database(/Zi)
Runtime Library: Multi-threaded Debug DLL(/MDd)
Am I missing something? Do I need set something in the project properties?
Thanks a lot in advance!
Jie
 


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Reply via email to