[chromium-dev] Re: Is there any logging to print out messaging between Browser and Renderer

2009-06-11 Thread Jeremy Moskovich
You can set the environmental variable in XCode by double clicking on the
executable target.
I'm not sure the logging code is enabled on OSX, the right place to look
would be in chrome/common/ipc_channel_posix.cc, search for
IPC_MESSAGE_LOG_ENABLED.

If that's compiled in, then if the env variable is set as jam says, you
should get message logging.

Best regards,
Jeremy

On Wed, Jun 10, 2009 at 10:46 PM, Meryl Silverburgh 
silverburgh.me...@gmail.com wrote:


 On Wed, Jun 10, 2009 at 8:56 PM, John Abd-El-Malekj...@chromium.org
 wrote:
  about:ipc is only implemented on Windows.
  For Mac/Linux, you need to set the CHROME_IPC_LOGGING environment
 variable.
   All the messages will be dumped to stderr.
 

 I have added 'export CHROME_IPC_LOGGING=1' in my .profile on Macos.
 Reboot my machine.  And 'build and debug' my chrome xocde project
 under Xcode. Load Google.com

 But I only see the following in my XCode Console View:



 [366:17667:919320584122:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:919332572808:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:919406692781:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:919545318766:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:919545477665:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:2067:1055305882028:ERROR:/Users/samuel/chromium/src/chrome/browser/tab_contents/
 tab_contents_view_mac.mm(117)]
 Not implemented reached in virtual void
 TabContentsViewMac::SizeContents(const gfx::Size)

 [366:17667:1056204955438:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:1056365389566:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:1056370011421:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:1056456409105:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:17667:1056456929069:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
 Canceling a request that wasn't found

 [366:2067:1060039015993:ERROR:/Users/samuel/chromium/src/chrome/common/temp_scaffolding_stubs.cc(277)]
 Not implemented reached in static void
 HungRendererDialog::HideForTabContents(TabContents*)
 LEAK: 5 CachedResource
 LEAK: 166 WebCoreNode
 Leak 1 JS wrappers.



  On Wed, Jun 10, 2009 at 8:34 PM, Meryl Silverburgh
  silverburgh.me...@gmail.com wrote:
 
  Thank you. I try and successfully build chromium on MacOS using XCode.
  Then I do a 'build and Go (debug)'.
 
  In one tab , I load www.google.com and then do a search for 'test'.
  In another tab, I enter 'about:ipc' but it shows nothing.
 
  Am I missing something?
 
  Thank you.
 
  On Wed, Jun 10, 2009 at 8:02 PM, Eric Romanero...@chromium.org wrote:
   Even better, use a DEBUG build of chromium and navigate to
 about:ipc.
   This opens a window that logs all of the IPC messages being made.
  
   On Wed, Jun 10, 2009 at 7:34 PM, Mohamed Mansourm...@chromium.org
   wrote:
   You can pass in --log-level=N to the command line, where N is
   0 = INFO
   1 = WARNING
   2 = ERROR
   3 = FATAL
   The default login level is set to 1 which is WARNING.
  
   -- Mohamed Mansour
  
  
   On Wed, Jun 10, 2009 at 10:24 PM, Meryl Silverburgh
   silverburgh.me...@gmail.com wrote:
  
   Hi,
  
   Is there any logging to print out messaging between Browser and
   Renderer processes?
   If yes, can you please tell me how to enable it? And where does the
   log
   go?
  
   Thank you.
  
  
  
  
   
  
  
 
  
 
 

 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Is there any logging to print out messaging between Browser and Renderer

2009-06-10 Thread Mohamed Mansour
You can pass in --log-level=N to the command line, where N is
0 = INFO
1 = WARNING
2 = ERROR
3 = FATAL

The default login level is set to 1 which is WARNING.


-- Mohamed Mansour


On Wed, Jun 10, 2009 at 10:24 PM, Meryl Silverburgh 
silverburgh.me...@gmail.com wrote:


 Hi,

 Is there any logging to print out messaging between Browser and
 Renderer processes?
 If yes, can you please tell me how to enable it? And where does the log go?

 Thank you.

 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Is there any logging to print out messaging between Browser and Renderer

2009-06-10 Thread John Abd-El-Malek
about:ipc is only implemented on Windows.
For Mac/Linux, you need to set the CHROME_IPC_LOGGING environment variable.
 All the messages will be dumped to stderr.

On Wed, Jun 10, 2009 at 8:34 PM, Meryl Silverburgh 
silverburgh.me...@gmail.com wrote:


 Thank you. I try and successfully build chromium on MacOS using XCode.
 Then I do a 'build and Go (debug)'.

 In one tab , I load www.google.com and then do a search for 'test'.
 In another tab, I enter 'about:ipc' but it shows nothing.

 Am I missing something?

 Thank you.

 On Wed, Jun 10, 2009 at 8:02 PM, Eric Romanero...@chromium.org wrote:
  Even better, use a DEBUG build of chromium and navigate to about:ipc.
  This opens a window that logs all of the IPC messages being made.
 
  On Wed, Jun 10, 2009 at 7:34 PM, Mohamed Mansourm...@chromium.org
 wrote:
  You can pass in --log-level=N to the command line, where N is
  0 = INFO
  1 = WARNING
  2 = ERROR
  3 = FATAL
  The default login level is set to 1 which is WARNING.
 
  -- Mohamed Mansour
 
 
  On Wed, Jun 10, 2009 at 10:24 PM, Meryl Silverburgh
  silverburgh.me...@gmail.com wrote:
 
  Hi,
 
  Is there any logging to print out messaging between Browser and
  Renderer processes?
  If yes, can you please tell me how to enable it? And where does the log
  go?
 
  Thank you.
 
 
 
 
  
 
 

 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Is there any logging to print out messaging between Browser and Renderer

2009-06-10 Thread Meryl Silverburgh

On Wed, Jun 10, 2009 at 8:56 PM, John Abd-El-Malekj...@chromium.org wrote:
 about:ipc is only implemented on Windows.
 For Mac/Linux, you need to set the CHROME_IPC_LOGGING environment variable.
  All the messages will be dumped to stderr.


I have added 'export CHROME_IPC_LOGGING=1' in my .profile on Macos.
Reboot my machine.  And 'build and debug' my chrome xocde project
under Xcode. Load Google.com

But I only see the following in my XCode Console View:


[366:17667:919320584122:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:919332572808:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:919406692781:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:919545318766:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:919545477665:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:2067:1055305882028:ERROR:/Users/samuel/chromium/src/chrome/browser/tab_contents/tab_contents_view_mac.mm(117)]
Not implemented reached in virtual void
TabContentsViewMac::SizeContents(const gfx::Size)
[366:17667:1056204955438:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:1056365389566:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:1056370011421:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:1056456409105:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:17667:1056456929069:WARNING:/Users/samuel/chromium/src/chrome/browser/renderer_host/resource_dispatcher_host.cc(608)]
Canceling a request that wasn't found
[366:2067:1060039015993:ERROR:/Users/samuel/chromium/src/chrome/common/temp_scaffolding_stubs.cc(277)]
Not implemented reached in static void
HungRendererDialog::HideForTabContents(TabContents*)
LEAK: 5 CachedResource
LEAK: 166 WebCoreNode
Leak 1 JS wrappers.



 On Wed, Jun 10, 2009 at 8:34 PM, Meryl Silverburgh
 silverburgh.me...@gmail.com wrote:

 Thank you. I try and successfully build chromium on MacOS using XCode.
 Then I do a 'build and Go (debug)'.

 In one tab , I load www.google.com and then do a search for 'test'.
 In another tab, I enter 'about:ipc' but it shows nothing.

 Am I missing something?

 Thank you.

 On Wed, Jun 10, 2009 at 8:02 PM, Eric Romanero...@chromium.org wrote:
  Even better, use a DEBUG build of chromium and navigate to about:ipc.
  This opens a window that logs all of the IPC messages being made.
 
  On Wed, Jun 10, 2009 at 7:34 PM, Mohamed Mansourm...@chromium.org
  wrote:
  You can pass in --log-level=N to the command line, where N is
  0 = INFO
  1 = WARNING
  2 = ERROR
  3 = FATAL
  The default login level is set to 1 which is WARNING.
 
  -- Mohamed Mansour
 
 
  On Wed, Jun 10, 2009 at 10:24 PM, Meryl Silverburgh
  silverburgh.me...@gmail.com wrote:
 
  Hi,
 
  Is there any logging to print out messaging between Browser and
  Renderer processes?
  If yes, can you please tell me how to enable it? And where does the
  log
  go?
 
  Thank you.
 
 
 
 
  
 
 

 



--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---