Remote debugging an Azure worker role using Azure Connect, remote desktop and remote debugger, part 2

This is the second part of the “Remote debugging a Windows Azure Worker Role using Azure Connect, Remote desktop and the remote debugger”. In this part I will show you how to get the remote debugger on your worker role.

Step 2: Copy the remote debugger on your worker role instance

Start by creating a shared folder on your system, and copy the remote debugger file to it.

To do this select a folder on your system (maybe first create one) and select Properties

Click on the Sharing tab, and click the Share button.

image_thumb1_thumb

Click the Share button (you should already be in the list), and then click Done, then Close.

Copy the remote debugger files into this shared folder. You should find the remote debugger inside the Visual Studio folder. On my 64 bit machine this is in the C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\X64 folder…

Now we can create the remote desktop connection. Open the Azure portal, and go to your hosted service. Since we published the worker role you should find at least on instance… Select it:

image_thumb3_thumb

This should enable the Connect button:

image_thumb4_thumb

Click it to open the .rdp file. Accept the download by clicking the Open button.

If you get the Remote Desktop Connection warning, click on Connect.

image_thumb6_thumb

Enter your credentials (using your real username/password):

image_thumb8_thumb

Again a warning will popup:

image_thumb10_thumb

Select Yes (unless you don’t trust your own connection Smile)

Your remote desktop session should open. Minimize it because we still need to do something else…

Now we need to create a connection between the worker role instance machine and your machine.

Go back to the Azure portal and select the Virtual Network tab.

You should have the Local Endpoint installed (we did this in step 1) so you should see your computer and the role instances. To complete the connection we need to edit the role connections:

image_thumb11_thumb

This should open the Edit Endpoint Group dialog. Click on the Add button to add your local group (called MyGroup on my configuration).

image_thumb13_thumb

Click on Save.

Right-click the local endpoint (this is a little icon in the notification area of the taskbar) and select Refresh Policy. After a while this should look like this:

image_thumb14_thumb

Now go back to your remote desktop session.

Open a command prompt and ping your own machine. This might need a couple of retries until the DNS gets updated…

Open the shared folder on your machine (on my machine I do this by typing \\vaiopeter\RemoteDebugger in an explorer window).

Create a folder on the remote machine (I call it RemoteDebugger) and copy the contents of the shared folder in it.

Now we are ready to connect the debugger and start debugging…

Comments (18) -

  • sac louis vuitton

    5/16/2012 9:30:51 PM |

    le virtuels et aux simulations de tir.(lien en anglais) pour supprimer le programme de son ordinateur.?? [url=http://www.lvpascher1.com/]sac louis vuitton[/url] "L'objectif est ainsi de prendre des parts de marché à la voiture, par rapport à laquelle l'autocar représente un moyen de transport nettement plus écologique et très sécurisé".Le candidat s'est également réjoui d'avoir irrité la gauche et les syndicats en annon? [url=http://www.lvpascher1.com/]sac vuitton[/url] Celle-ci promet en effet une machine "immunisée contre les virus". [url=http://www.lvpascher1.com/]sacs louis vuitton[/url]ler l'immigration, améliorer la sécurité, changer l'Europe pour qu'elle ne soit plus une "passoire",? Je parle aussi bien à ceux qui ont voté Fran? [url=http://www.lvpascher1.com/]louis vuitton site officiel[/url]: se faire passer pour un no life?Stora :? [url=http://www.lvpascher1.com]louis vuitton pas cher[/url]Selon Dr?

  • Bill Ulicki

    9/20/2013 4:09:08 AM |

    Hi, I do believe this is an excellent site. I stumbledupon it ;) I may return once again since i have saved as a favorite it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.|

  • Restaurant Equipment

    10/15/2013 2:43:16 PM |

    It is perfect time to make some plans for the future and it is time to be happy. I have read this post and if I could I want to suggest you few interesting things or tips. Perhaps you can write next articles referring to this article. I wish to read even more things about it!|

  • psn codes

    11/21/2013 2:29:18 AM |

    This was among the best articles that I have now examine. I am just interested in how smart you are. As a result of your insite I had been in a position to take your knowledge and also implement the idea to our problem. Your blog post is the excellent answer to my very own needs. If any individual desires this kind of info I'm going make certain to advise them about your webpage. I may love to show to all your followers that they're blessed to have this type of info. We appreciated your article so much that I enjoyed it, tweeted it, subscribed, and saved it to my favorite social bookmarking web site for later reading. Again, i want to thank you for helping me with helping me resolve my issue

  • adwokat opole

    1/27/2014 8:57:04 PM |

    I in fact benefit from appraisal through taking place this website, it contains sunny blog posts. "Never fight an inert object." by P. J. O'Rourke.

  • prawnik opole

    1/27/2014 9:36:14 PM |

    A allowance plan Preteen Copy Bbs i darling surveillance her fuck...she fucks comparable its the end of the world! she needs to do further porn comparable this...

  • activate windows 7

    2/3/2014 3:27:09 PM |

    Hey Thank Ya For Making And Sharing The Very Interesting Blog Post Keep Up The Great Work! I Left A Backlink To My Activate Windows Page To Show You How To Activate Windows Enjoy!

  • Junie Russman

    2/7/2014 1:33:42 AM |

    I just couldn’t depart your site prior to suggesting that I extremely enjoyed the standard information an individual provide for your visitors? Is gonna be back frequently in order to inspect new posts

  • xbox live gratuit

    2/8/2014 11:49:52 PM |

    Hi, I can?t understand how to add your site in my rss reader. Can you Help me, please

  • porno , porno , porno , porno

    2/11/2014 3:35:32 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/11/2014 5:02:39 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/11/2014 8:43:09 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 3:04:59 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 5:50:10 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 7:21:27 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 8:17:54 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • sex porn

    2/25/2014 4:29:56 AM |

    Magnificent web site. Lots of useful info here. I?¦m sending it to several buddies ans additionally sharing in delicious. And of course, thank you to your effort!

  • sex porn

    2/25/2014 6:25:36 AM |

    Excellent website. A lot of useful info here. I am sending it to a few pals ans also sharing in delicious. And certainly, thank you to your sweat!

  • Phone Numbers

    3/17/2014 8:03:58 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    3/20/2014 9:39:19 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    3/21/2014 1:12:38 AM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    3/25/2014 10:28:00 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    4/1/2014 12:57:56 AM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    4/3/2014 9:19:37 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    4/6/2014 8:58:55 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Andrew Pelt

    4/20/2014 2:35:28 AM |

    I just want to tell you that I am just all new to blogs and absolutely liked this blog. Likely I’m likely to bookmark your website . You definitely have really good stories. Thanks a lot for revealing your website page.

  • Marcelle Arno

    4/21/2014 8:17:39 AM |

    I simply want to tell you that I am very new to blogging and honestly enjoyed your web-site. Most likely I’m planning to bookmark your website . You really come with amazing stories. Thank you for sharing your website.

Loading