Geeks With Blogs

@jimlavin
  • jimlavin Enjoying a bottle of Otaku Brewing's Beam Me Up Scottie! This has aged nicely! Up next an Otaku Brewing Off-the-Cuff ESB! about 859 days ago
  • jimlavin Big day today! Delivered website enhancements to one of our clients. Tonight I have the NTHBA Monthly Meeting. about 862 days ago
  • jimlavin Now what the heck happened to my headset? How the hell can I enjoy good music without my headset? about 866 days ago
  • jimlavin @billybroas thanks man! You're the one who taught me how to ship beer! about 866 days ago

Jim Lavin Its all 'bout re-use

Here's a handy tip when you are trying to learn how the components of the Service Factory works. I've found it very useful over the last couple of weeks.

Since the Service Factory now gets registered under the Visual Studio Experimental Hive you can configure the solution so you can debug it. If you are familiar with debugging DSLs, this should be nothing new. Just follow the steps below:

  1. Set the Service Factory Guidance Package as the Start-Up Project by right-clicking on the project and selecting "Set as Start-Up Project".
  2. Change the Service Factory Guidance Package Project's debug settings to launch Visual Studio under the Experimental Hive:
    1. Right click on the Service Factory Guidance Package Project and select "Properties".
    2. Select the Debug Tab
    3. Configure the Start Action to Start External Program and C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe or where ever you have installed Visual Studio for the program.
    4. Set the Start Options, Command Line Arguments to /rootsuffix Exp

Now you can set breakpoints in the Service Factory code and press F5 to walk through the code in the debugger.

Posted on Monday, November 19, 2007 11:36 PM Software Factories , Technology | Back to top


Comments on this post: Adventures in Extending the Service Factory - Part 2

No comments posted yet.
Your comment:
 (will show your gravatar)
 


Copyright © Jim Lavin | Powered by: GeeksWithBlogs.net | Join free