The code I am working on adds to CONTROL IPC messages.
Previously these messages were defined in render_messages.h and I was able to send and receive both messages.
One of the messages is send from the browser to a newly created renderer using a RenderProcessHost to send the message which is received using a RenderThreadObserver::OnControlMessageReceived. This message still works after I moved the code.
The second message is sent from a renderer to the browser. The sender uses a RenderView to send the message and the receiver uses a BrowserMessageFilter.
This message no longer is being received after my modification.
The modification was to move the message IPC definitions from render_message.h to their own file. I also defined a new MsgStart enum for the new file. I followed the pattern I saw being used for other messages. I added my new message header file to chrome/common/common_message_generator.h.
I tried CHROME_IPC_LOGGING=1 and I see the working message but I don't see the message which is not being received.
I tried running chrome under Ubuntu/gdb but have had little luck in getting gdb to run on the renderer. Something seems to SIGTERM it after it starts. I'm hoping there's some other way to debug this other than reading many files of code.
thanks!!!
-Jim.