IT Community - Software Programming, Web Development and Technical Support

How to Debug Smartphone Home Plugin Initialization?

This is a discussion on How to Debug Smartphone Home Plugin Initialization? within the Mobile Software Development forums, part of the Software Development category; I have created a new home screen plug-in, but I can't get it to load by selecting Settings-&...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 03:11 AM
theone theone is offline
D-Web Sr.Programmer
 
Join Date: Jun 2007
Posts: 129
theone is on a distinguished road
Question How to Debug Smartphone Home Plugin Initialization?

I have created a new home screen plug-in, but I can't get it to load by selecting Settings->Home Screen. I'm sure the home.xml is ok. It appears that the problem is with the IHomePlugin Initialization somewhere. What I would like to do is debug this on the emulator from VS2005. However, it seems the way initialization takes place is for the settings.exe process to spawn a new home.exe process specifically for the purpose of initialization, and then the new home.exe process terminates. I can't see a way to attach to the new home.exe process so that I can debug the plug-in during initialization. Is there some way to do this?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-27-2007, 05:47 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Thumbs up Re: How to Debug Smartphone Home Plugin Initialization?

Hi Theone

Add a messagebox to the IHomePlugin::Init() as a first line of code. Load the home screen. You will see the message box. At this point use Debug\Attach in VStudio and then dismiss the dialog box

Oxygen
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-27-2007, 05:48 AM
theone theone is offline
D-Web Sr.Programmer
 
Join Date: Jun 2007
Posts: 129
theone is on a distinguished road
Talking Re: How to Debug Smartphone Home Plugin Initialization?

Thanks Oxygen! That worked great. I'm just new enough to this that I did not think about that trick.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Lightroom Plugin kingmaker C# Programming 3 11-29-2007 06:41 AM
What about class initialization? prasath Java Programming 1 07-20-2007 06:52 AM
Explain the purpose of Disable the Debug Mode or Set Debug ="false" oxygen ASP and ASP.NET Programming 1 07-20-2007 06:22 AM
resource acquisition is initialization vigneshgets C and C++ Programming 1 05-30-2007 11:33 AM
A Slimmed-Down Smartphone That’s Not a Lightweight vigneshgets The Lounge 0 05-29-2007 07:40 AM


All times are GMT -7. The time now is 10:30 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0