Skip to content

Debugging ChakraCore : Boolean valueOf #6864

@bkimman

Description

@bkimman

I am using Visual Studio 2015.

When I try to debug my application, it does not step into the Chakra code - I have built the Chakra solution on the same machine and the Debug Output window indicates that the symbols for ChakraCore.dll have been loaded.

If I locate the source file in chakra where a particular function is, and put a break point there, the debugger does stop there and lets me debug the code .. different matter that debugging c++ is not easy for me.

I had to debug in the context of an issue .. a script was passing a native function a boolean object where a boolean value was expected. The native function determined that that argument was an instance of the Boolean object and so tried to convert that to the boolean value ..

Tried with ConvertValueToBoolean - that always returns a value of false.
Tried calling the valueOf function of the Boolean object - that returns an object and not a value.
But ConvertValueToString returns the correct value.

Thanks
K

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions