Hello,I'm very new to the chromium open-source project and I'm trying to make my first steps in the code.I've read about Mojo, the message pipes and some related information, and now I try to get to know the message types and what really happens behind the scenes by running the code and debugging it (on Mac).May you help me to know what my entry point should be if I want to simply print some information about any message which is being written to and read from a mojo-messages-pipe.
Furthermore, how can I print some useful and meaningful information about a mojo message? (a sort of a "stringish" name/type/content/param)
I tried the file src/mojo/public/cpp/bindings/lib/message.cc, and the functions `ReadMessage` and `WriteMessageHeader`, but I don't really know what I should print in order to get some message-specific information.I also could see that those 2 functions are called tones of times per second, so if you can help me filter out some irrelevant messages it would be great (I want messages about things like a click, a redirect, a render complete, and not mouse move and staff like that)
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-mojo+unsubscribe@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/b9a11cb5-d68c-4fe7-872d-a8e7b7488a48%40chromium.org.
Hello,I'm very new to the chromium open-source project and I'm trying to make my first steps in the code.I've read about Mojo, the message pipes and some related information, and now I try to get to know the message types and what really happens behind the scenes by running the code and debugging it (on Mac).May you help me to know what my entry point should be if I want to simply print some information about any message which is being written to and read from a mojo-messages-pipe.Furthermore, how can I print some useful and meaningful information about a mojo message? (a sort of a "stringish" name/type/content/param)
I tried the file src/mojo/public/cpp/bindings/lib/message.cc, and the functions `ReadMessage` and `WriteMessageHeader`, but I don't really know what I should print in order to get some message-specific information.I also could see that those 2 functions are called tones of times per second, so if you can help me filter out some irrelevant messages it would be great (I want messages about things like a click, a redirect, a render complete, and not mouse move and staff like that)
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/CA%2BapAgGWH9-kzZ7dzuZJKjkt9Text7DtQZWCS_psbtMRqvR0kg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-moj...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/a742e409-1c1e-4559-acdc-d267690398f0%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-mojo+unsubscribe@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/a742e409-1c1e-4559-acdc-d267690398f0%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-mojo+unsubscribe@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/CAMGE5NEP3vY3-JuYZ9Y3LLgoEJokxzsEUg-gZXkMGg%3DvKD_bTQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/a742e409-1c1e-4559-acdc-d267690398f0%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-moj...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/CAMGE5NEP3vY3-JuYZ9Y3LLgoEJokxzsEUg-gZXkMGg%3DvKD_bTQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/ceb89d7f-13e4-4798-bbed-da3a593fa802%40chromium.org.
A different thought on the same topic: Any way I can print the something that represents the mojo message buffer?The mojo::Message::ReadMessage function gets a MessagePipeHandle and somehow initializes a new Message object (I tried to figure out how by browsing the code, but couldn't). Can someone tell how this message is supposed to look in the memory? Any known format? Anyway I can print the full message buffer and analyze it? (this time I don't want any meaningful strings or names, so I hope I can leave the templates and the generated code)
On Wednesday, September 27, 2017 at 7:24:58 PM UTC+3, ben...@gmail.com wrote:Hello,I'm very new to the chromium open-source project and I'm trying to make my first steps in the code.I've read about Mojo, the message pipes and some related information, and now I try to get to know the message types and what really happens behind the scenes by running the code and debugging it (on Mac).May you help me to know what my entry point should be if I want to simply print some information about any message which is being written to and read from a mojo-messages-pipe.Furthermore, how can I print some useful and meaningful information about a mojo message? (a sort of a "stringish" name/type/content/param)I tried the file src/mojo/public/cpp/bindings/lib/message.cc, and the functions `ReadMessage` and `WriteMessageHeader`, but I don't really know what I should print in order to get some message-specific information.I also could see that those 2 functions are called tones of times per second, so if you can help me filter out some irrelevant messages it would be great (I want messages about things like a click, a redirect, a render complete, and not mouse move and staff like that)
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-mojo+unsubscribe@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/7a071275-1902-43c6-8c37-e195f692f77a%40chromium.org.