You can do the equivalent to the "jlh" gdb macro:
https://cs.chromium.org/chromium/src/v8/tools/gdbinit?l=16

In your case:
_v8_internal_Print_Object(*((v8::internal::Object**)source.val_))

On Tue, Nov 6, 2018 at 4:07 AM Early <zjc...@gmail.com> wrote:

> Any helps, thanks
>
>
> On Thursday, November 1, 2018 at 3:40:12 PM UTC+8, Early wrote:
>>
>> Hi, I've built v8 in visual studio at windows. but when I debug
>> v8_hello_world.exe,
>>
>> I print *`source*` variable in Immediate Window, source
>> is v8::Local<v8::String> class type. I print *source->IsOneByte()*, the
>> resulte says "expression must be pointer". It don't exec the Local class T*
>> operator->()  overridde operator.
>>
>> Any idea for expecting print what I wanted ?
>>
>> Thanks. :)
>>
>> [image: CAPTURE_20181030_172118.jpg]
>>
>> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Clemens Hammacher

Software Engineer

cleme...@google.com

Google Germany GmbH

Erika-Mann-Straße 33

80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten
haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter,
löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen,
dass die E-Mail an die falsche Person gesendet wurde.



This e-mail is confidential. If you received this communication by mistake,
please don't forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to