Carter, That's exactly where I've tried to put the breakpoint, but I never hit it and as I indicated earlier, the breakpoint symbol indicates that symbols weren't loaded even though other information, like the Module list and the debug output window, indicate that symbols were loaded.
Bob -----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Carter Browne Sent: Friday, April 17, 2009 1:38 PM To: openssl-users@openssl.org Subject: Re: Debugging OpenSSL with Visual Studio 2008 It is hard to reply without knowing what you are trying to do, but if you put a break point at the :"arg.data=NULL;" statement and then use the step over, step into options of the debugger, you should be able to get to the area you are looking for. If VC tells you the breakpoint won't be reached, you need to put it somewhere else. Carter Carter Browne CBCS cbro...@cbcs-usa.com 781-721-2890 Bob Barnes wrote: > hi, > > I realize this may be slightly off-topic, but a search of the > Microsoft forums hasn't turned up anything useful and I'm hoping that > someone here has had some experience getting this to work. I've > successfully built a debug version of OpenSSL on Windows and I'm now > trying to use Visual Studio 2008 to debug it. I can see that the .pdb > files have been created in the out32dll.dbg directory following the > build. I then create a Visual Studio "solution" per the VS > instructions for the executable openssl.exe, open the source file > openssl.c and set a breakpoint in the main and select "Start > Debugging" from the Debug menu. Mousing over the breakpoint symbol in > the openssl.c main displays the source file name,line number and > function along with the text "The breakpoint will not currently be > hit. No symbols have been loaded for this document." The breakpoint is > never hit, but the DOS command window opens and I get the initial > OpenSSL> prompt so I know it's alive. However, when I select > "Debug->Windows->Modules" I get a list of the OpenSSL modules, > including openssl.exe, ssleay.dll and libeay.dll and they all show the > "Symbol Status" as "Symbols loaded." and the correct path to the .pdb > appears in the "Symbol File" column. > > If anyone has any experience getting this to work I would greatly > appreciate any help you could offer? Feel free to contact me off-list > if you prefer. > > tia, > > Bob ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org