Console.WriteLine in IE Add-On?

Add-in Express™ Support Service
That's what is more important than anything else

Console.WriteLine in IE Add-On?
trying to figure out how to get console output via an IE add-on 
rob




Posts: 4
Joined: 2010-04-15
Hello everyone, I'm new to Add-On-Express and am trying to figure out how to get Console.WriteLine to work within my IE Add-On.

No output is shown when I call Console.WriteLine. I've used that method many times in the past outside the context of an IE plugin. Is it not possible to capture console output when debugging an IE add-on? If so... what method should I use to gain visibility into the state of my application?

Thanks for any suggestions!
Posted 15 Apr, 2010 23:53:58 Top
Andrei Smolin


Add-in Express team


Posts: 14713
Joined: 2006-05-11
Hello Rob,

I haven't used Console.WriteLine but we can't see Debug.WriteLine in IE 7 and IE 8 on Vista/Windows 7/Windows 2008 Server with Protected Mode on. We get the debug output, however, if Protected Mode is off.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Apr, 2010 07:26:17 Top
rob




Posts: 4
Joined: 2010-04-15
Hello Andrei, thanks for the information!

I have tried what you suggested, but alas I still do not see debug output. I am using Debug.WriteLine now but my IE8 install is on Windows XP; have you had any luck with debug output on XP? My install of IE8 (latest version) doesn't have a 'protected mode' checkbox in the security tab.
Posted 16 Apr, 2010 13:12:38 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Rob.

What software do you use to intercept debug messages?
Posted 20 Apr, 2010 09:41:26 Top
rob




Posts: 4
Joined: 2010-04-15
I don't have any software to intercept those messages. That's what I was trying to figure out :( So instead I created my own custom logging class to write debug messages to the UI / disk. Are you aware of a better way to capture debug messages?
Posted 20 Apr, 2010 17:28:53 Top
Andrei Smolin


Add-in Express team


Posts: 14713
Joined: 2006-05-11
Hi Rob,

DebugView.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Apr, 2010 03:36:36 Top