Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

How to debug (STEP INTO and STEP OUT) openssl-1.0.1g source code using Visual Studio C++ 2012 Express for Desktop

$
0
0

Hallo,

I have downloaded and built openssl-1.0.1g using this manual.

http://p-nand-q.com/programming/windows/building_openssl_with_visual_studio_2013.html

I compiled and built debug-VC-WIN32 to output directory -> C:\Build-OpenSSL-VC-32-dbg

Up to this everything worked fine.

Now it is time to make some references in my project, but I don't know how.

I created new Win32 console application and did some changes in project configuration. I added path to

Executable directories, Include directories, Library directories, Additional include directories, Additional Library directories and Additional dependencies.

My code is very primitive by now.

The program probably workes fine, but I can't step into the source code of openssl.

I am just trying to step into the function BN_new() with F11, but program steps over.

stdafx.h

#include <stdio.h>
#include <tchar.h>

#include <openssl\bn.h>

#pragma comment(lib,"libeay32.lib")
#pragma comment(lib,"ssleay32.lib")

test_openssl.cpp

int _tmain(int argc, _TCHAR* argv[])
{
    BIGNUM *dynamic_bn;
    dynamic_bn = BN_new();

    BN_free(dynamic_bn);

        
    return 0;
}

Can anyone help me?

Sorry for my bad English.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>