Re: [v8-users] How to debug the v8 src code by exec `tools/run-tests.py --outdir out.gn/x64.debug`

2017-04-10 Thread Jakob Kummerow
There's no existing support for this. Pausing on breakpoints requires
running in a debugger, which run-tests.py doesn't implement.

As a workaround, you could put an UNREACHABLE() into the source where you'd
want to break and then run the test suite. run-tests.py will then print the
command line for any failing test(s), which you can use to run that test in
isolation within your debugger (after removing the UNREACHABLE() again).

Hope this helps,
Jakob

On Mon, Apr 10, 2017 at 10:31 AM, Early  wrote:

> Hi,I want to debug the v8 src code while runing the `tools/run-tests.py
> --outdir out.gn/x64.debug`.
> So, is there any way to help me to pause on a breakpoint which was set on
> a cc file in v8/src, when I run the `tools/run-tests.py --outdir
> out.gn/x64.debug`?
>
> --
> --
> 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.
>

-- 
-- 
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.


[v8-users] How to debug the v8 src code by exec `tools/run-tests.py --outdir out.gn/x64.debug`

2017-04-10 Thread Early
Hi,I want to debug the v8 src code while runing the `tools/run-tests.py 
--outdir out.gn/x64.debug`.
So, is there any way to help me to pause on a breakpoint which was set on a 
cc file in v8/src, when I run the `tools/run-tests.py --outdir 
out.gn/x64.debug`?

-- 
-- 
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.