Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagnostics WG Meeting - 2016-07-13 #60

Closed
joshgav opened this issue Jun 23, 2016 · 17 comments
Closed

Diagnostics WG Meeting - 2016-07-13 #60

joshgav opened this issue Jun 23, 2016 · 17 comments

Comments

@joshgav
Copy link
Contributor

joshgav commented Jun 23, 2016

Time

UTC Wed 13-July-2016 19:00 (1 hour before weekly CTC meeting)
Click for your local time.

San Francisco: Wed 13-July-2016 12:00
New York: Wed 13-July-2016 15:00
Amsterdam: Wed 13-July-2016 21:00
Moscow: Wed 13-July-2016 22:00
Sydney: Thu 14-July-2016 05:00
Tokyo: Thu 14-July-2016 04:00

Join/Watch

YouTube: https://youtu.be/QQ65Y4dfv84

Minutes

Agenda

/cc @nodejs/diagnostics

@joshgav
Copy link
Contributor Author

joshgav commented Jun 23, 2016

Agenda subject to this discussion. I think we should start with AsyncWrap since we missed it last time. @trevnorris @AndreasMadsen can you present status and next actions and lead a discussion for 10-15 minutes?

I'm working on something related to the Inspector stuff, will share soon.

@AndreasMadsen
Copy link
Member

AndreasMadsen commented Jun 23, 2016

@trevnorris should do the status update this time. I haven't been following the EP that closely, since the initial discussion was mostly reserved to CTC members. Besides the EP, the only thing that is new is:

  • uid is now a double
  • backport to 4.x

On future work that is discussion worth, I think it is mostly about getting handle context bugs fixed. #29 contains an overview of that. The status is (my opinions)

  • Microtask: difficult, but @ofrobots @jeisinger are optimistic about getting visibility from v8.
  • timers: should be relatively easy
  • addon modules integration: very difficult, at least without major breaking changes to how MakeCallback work.

@ofrobots
Copy link
Contributor

I am away during the week of July 4, so I won't be able to make it.

@joshgav
Copy link
Contributor Author

joshgav commented Jun 23, 2016

@ofrobots - good point. Would you be able to attend on 7/13? Would others also prefer to postpone a week?

I'm +1 :)

@MylesBorins
Copy link

I'm +1 on postponing a week

@pmuellr
Copy link
Contributor

pmuellr commented Jun 23, 2016

Makes sense, w/ July 4th holiday

@joshgav joshgav changed the title Diagnostics WG Meeting - 2016-07-06 Diagnostics WG Meeting - 2016-07-13 Jun 24, 2016
@joshgav
Copy link
Contributor Author

joshgav commented Jun 24, 2016

Great, July 13 it is. Thanks!

@joshgav
Copy link
Contributor Author

joshgav commented Jul 11, 2016

@nodejs/diagnostics: reminder: meeting is this Wednesday July 13 at 12pm Pacific

@ofrobots @matthewloring - can you discuss the trace system? #53
@pavelfeldman - can you discuss progress on inspector integration? #52
@trevnorris - do you want to discuss AsyncWrap? /cc @bnoordhuis

I'd like to briefly discuss potential goals of nodejs/node#7393.

@matthewloring
Copy link

We'll be there to discuss the tracing controller.

@trevnorris
Copy link

@joshgav Not sure I have anything to discuss, but I'll be happy to take any questions.

@AndreasMadsen
Copy link
Member

AndreasMadsen commented Jul 12, 2016

@trevnorris I think this will be a good opportunity to get an update on the v8 microtask hooks and for you to explain the MakeCallback solution.

@rvagg
Copy link
Member

rvagg commented Jul 12, 2016

@Fishrock123 has an update about the microtask hooks .. not great news afaik

@Jeff-Lewis
Copy link
Contributor

I'm not sure if this means anything but v8 ticket 4643 MicrotaskQueue lacking introspection APIs was just assigned last night.

@watson watson mentioned this issue Jul 14, 2016
@jmealo
Copy link

jmealo commented Aug 5, 2016

@nodejs/diagnostics If anyone from the diagnostics group could provide some guidance on getting debugging/inspector support back into pl/v8 it would be much appreciated!

plv8/plv8#131

@ofrobots
Copy link
Contributor

ofrobots commented Aug 5, 2016

@jmealo: At this point, v8_inspector is the best bet for implementing debugging for V8; the older JSON based protocol has been deprecated for ~2 years now. From skimming the issue it seems like plv8 might be on V8 ~4.3 which would be unfortunately too old (you need atleast V8 5.0+ for v8_inspector to work).

To use v8_inspector in your project, here's a rough outline of what you will have to do:

  1. Get v8_inspector from https://github.com/pavelfeldman/v8_inspector. We are keeping this repo as a convenient location for integration with Node.js. You can pick this code up directly from upstream Chromium too if you prefer. Note that at some point in the near-ish future this code will be merged directly into V8 and you won't have to pick it up externally.
  2. A websockets implementation that would serve your debugger endpoint. You should look at src/inspector_agent.cc in Node.js as an example to see how this is wired up.

@jmealo
Copy link

jmealo commented Aug 5, 2016

@ofrobots Thanks for the reply. The master branch is at 5.1.281.14. I haven't coded any serious C++ but I can take a look at it. I'm trying to get an implementation plan and do the footwork at the very least; so, this was very helpful.

@joshgav
Copy link
Contributor Author

joshgav commented Sep 13, 2016

Would be great if I could get a couple LGTMs on the notes from this meeting. Thanks!

@joshgav joshgav closed this as completed Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants