[v8-users] Re: How to rescue issues caused by v8::Isolate termination

2018-11-09 Thread Adam Klein
On Thu, Nov 8, 2018 at 8:21 PM Yutaka Hirano wrote: > > As to the problem itself, I have a clarifying questions: doesn't Blink > already have some choke point to determine whether it's "ok to call script > now"? If so that'd be a more natural place to add this handling than > TryCatch. > > No, th

Re: [v8-users] Re: visual studio debug v8 problems

2018-11-09 Thread Clemens Hammacher
Yes, it's a gdb macro, and you are not using gdb. Try this line: _v8_internal_Print_Object(*((v8::internal::Object**)source.val_)) Maybe you have to prepend it with "call" or "print", I don't know how visual studio works. Just make it evaluate that expression. On Fri, Nov 9, 2018 at 10:06 AM Earl

Re: [v8-users] Re: visual studio debug v8 problems

2018-11-09 Thread Early
Hi, I print jlh source in imediate window, it report undefined identifier jlh. On Thursday, November 8, 2018 at 6:01:16 PM UTC+8, Clemens Hammacher wrote: > > 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_in

Re: [v8-users] Interpreter debugger

2018-11-09 Thread Ben Noordhuis
On Wed, Nov 7, 2018 at 11:48 PM TLim wrote: > In the Ignition's document, it's explaining about the debugger, but the > information is not really enough and the attached link for further debugging > support within the document is not available as I need a permit to access it. > I requested for t

Re: [v8-users] objdump with d8?

2018-11-09 Thread Ben Noordhuis
On Thu, Nov 8, 2018 at 11:35 PM TLim wrote: > Hi, > > I'm trying to retrieve the instruction pointer information when I run a d8 > with JS program. > For example, $v8/out.gn/x64_release/d8 foo.js. > I realize that there is a tool 'objdump_v8' in the v8/tools folder. > If anyone can help me how ca