-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled exception when running "compiled-in" example code on Windows #170
Comments
This runtime exception only occurs in debug build. I am able to run release without any issue. |
Thanks for reporting this @brotherpboon, and good to know it works as-expected for release builds. Not yet sure what I can do to fix it. The code it is failing on is fairly ordinary, no hidden magic to it. |
I was able to get it to run under debug code if I rebuild and set the configuration to Debug instead of RelWithDebInfo
Then I had to change the dependencies' names accordingly under Project properties->Linker->Input. For example: libcurl.lib to libcurl-d.lib I am now able to send traces to DD running under both debug and release configurations. |
Thanks for the update @brotherpboon and confirming the issue was from mixing debug and release builds for libraries and an approach to avoid it. |
I've created #198 to make note of this potential issue in our Windows build instructions. |
Hi. I'm trying to run the compiled-in example on a local Windows machine. I am getting an unhandled exception on line 91 file tracer_options.cpp (see attached image and code below). Please advise.
Here is my code:
=====================================================================
The text was updated successfully, but these errors were encountered: