Skip to content
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

cpprest.natvis broken with VS2015 #7

Open
kavyako opened this issue Oct 23, 2015 · 0 comments
Open

cpprest.natvis broken with VS2015 #7

kavyako opened this issue Oct 23, 2015 · 0 comments
Labels

Comments

@kavyako
Copy link
Contributor

kavyako commented Oct 23, 2015

Ported from CodePlex discussion: https://casablanca.codeplex.com/discussions/646435
As per bsergeev:

I am trying to use cpprest.natvis in VS2015 to look at the value in web::json::value variable, but I'm getting this error:
Natvis: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Packages\Debugger\Visualizers\cpprest.natvis(168,68): Error: a pointer to a bound function may only be used to call the function
Error while evaluating '(_((web::json::details::Number)((m_value).Myptr))).m_number' in the context of type 'XXX.dll!web::json::value'.
The error is about checking the m_kind:


{(
((web::json::details::Number)((m_value)._Myptr))).m_number}

It looks like web::json::value::Number is correct description of an element of web::json::value_type enum, so, what's the problem here?

Are all you guys in Casablanca team working in Linux and nobody is using VS2015? It's not that bad, check it out! :-)

GerHobbelt pushed a commit to GerHobbelt/cpprestsdk that referenced this issue Mar 20, 2024
* premake: Use _PLATFORM booleans to clean up platform checks

* premake: Remove all winuwp arm configurations as it is deprecated

* premake: Add cocoa configurations or remove unneeded mobile configurations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants