[v8-users] Re: How do I generate xcode v8 projects?/help

2017-06-15 Thread Shu Dong
Thank you very much. Through “gn gen out / gn --ide = xcode” can really show all.xcodeproj project, is now opening the project, I first played down. Thank you On Friday, June 16, 2017 at 11:38:48 AM UTC+8, Zac Hansen wrote: > > a quick additional glance shows that support for xcode may have

[v8-users] How do I generate xcode v8 projects?/help

2017-06-15 Thread Shu Dong
Thank you for your reply. Because I intend to participate in the development of this open source project V8, so I hope to build a xcode project to facilitate the preparation of debugging, but in accordance with the official website of the steps can not be achieved. I follow the Building V8

[v8-users] Re: How do I generate xcode v8 projects?/help

2017-06-15 Thread Zac Hansen
a quick additional glance shows that support for xcode may have been added to gn about a year ago... https://bugs.chromium.org/p/chromium/issues/detail?id=597975 also, here's some examples for how to build chromium (which uses a very similar build process to v8) with an xcode project:

Re: [v8-users] Re: How do I generate xcode v8 projects?/help

2017-06-15 Thread Zac Hansen
You can always attach the xcode debugger to an existing running program, if that's your desire. I'm guessing that the core developers have no use for having an xcode project and therefor there is no automatic way to generate an xcode project. But that's just a guess. On Thu, Jun 15, 2017 at

[v8-users] Re: How do I generate xcode v8 projects?/help

2017-06-15 Thread Shu Dong
Thank you for your reply. Because I intend to participate in the development of this open source project V8, so I hope to build a xcode project to facilitate the preparation of debugging, but in accordance with the official website of the steps can not be achieved. On Friday, June 16, 2017 at

[v8-users] Re: How do I generate xcode v8 projects?/help

2017-06-15 Thread Zac Hansen
Did you see this link: https://github.com/v8/v8/wiki/Building-with-GN On Thursday, June 15, 2017 at 3:39:44 AM UTC-7, Shu Dong wrote: > > I follow the Building V8 documentation,From the root of your V8 checkout, > run either of: > gypfiles/gyp_v8 -Dtarget_arch=ia32 > gypfiles/gyp_v8

Re: [v8-users] What does IsNearDeath do?

2017-06-15 Thread Zac Hansen
Everything I'm seeing says it should be set in your registered weak callback.. if it's ever false there, then I'd look into it further, but other than that the behavior seems to be not very guaranteed. I am not a v8 developer, I just googled around a bit. --Zac On Thursday, June 15, 2017 at

[v8-users] Re: How do I generate xcode v8 projects?/help

2017-06-15 Thread Zac Hansen
Why do you need to generate an xcode project? Once the files are built, there's not really much else to do with them. You can add the resulting library files and header file locations to your project that uses them easily enough without having an actual v8 xcode project. On Thursday, June

Re: [v8-users] What does IsNearDeath do?

2017-06-15 Thread Ben Noordhuis
On Thu, Jun 15, 2017 at 4:42 PM, Ian Bull wrote: > Thanks Ben, > > I tried setting it weak, and noticed that it still was considered "not near > death". However, after a while, this did change. So this is consistent with > your assertion that it's not instantaneous. > > I was

Re: [v8-users] What does IsNearDeath do?

2017-06-15 Thread Ian Bull
Thanks Ben, I tried setting it weak, and noticed that it still was considered "not near death". However, after a while, this did change. So this is consistent with your assertion that it's not instantaneous. I was going to expose this API in my Java bindings, but maybe I'll skip if for now.

[v8-users] How do I generate xcode v8 projects?/help

2017-06-15 Thread Shu Dong
I follow the Building V8 documentation,From the root of your V8 checkout, run either of: gypfiles/gyp_v8 -Dtarget_arch=ia32 gypfiles/gyp_v8 -Dtarget_arch=x64 But I did not see all.xcodeproj in the gypfile file. Is not what step is missing? -- -- v8-users mailing list

Re: [v8-users] What does IsNearDeath do?

2017-06-15 Thread Ben Noordhuis
On Wed, Jun 14, 2017 at 10:52 PM, Ian Bull wrote: > The documentation of IsNearDeath says: > > "Checks if the handle holds the only reference to an object." > > But I'm not sure this is correct. > > If I create a new Object, and place it in a persistent container, and the >