Debug and set breakpoints when hosted on Azure?

This is one of those questions where I think I've seen it demonstrated in various articles, possibly with other MSFT technologies, but am not sure how to actually do it myself.  Is it possible to set breakpoints in my Entity or other C# code and hit
them when running a LS 2013 HTML app in Azure?

Yes see:
Azure Web Site Enhancements
Debug a running Azure Web site
So this is all fine, but now we get to the real gem. If you right-click on your web site in Server Explorer, you can select “Attach Debugger”:
You can debug your running Azure web site! To demonstrate, I created an Inserting handler for my LightSwitch app, deployed and performed Attach Debugger and put a breakpoint in my handler method. When I insert a record, I hit my breakpoint:
Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
http://LightSwitchHelpWebsite.com

Similar Messages

  • List all printers configured from server and local machine when hosted in server machine and working from Client machine

    Hello Team
    I am developing web application in asp.net. When application run from IIS(hosted in server machine running from client machine using web browser) application should list all the configured printers in local and network.
    can any one please let me know the process, in this i was able to load printers from server, so need to load printers from local machine.
    Thanks in Advance
    Bindu

    Hi Bindu,
    I am developing web application in asp.net. When application run from IIS(hosted in server machine running from client machine using web browser) application should list all the configured printers in local and network.
    From this message, this is a web application in asp.net, and it also related to IIS.
    You should post in the dedicated ASP.Net Forum
    http://forums.asp.net
    For IIS issue, http://forums.iis.net/ IIS forum should post.
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Setting breakpoints/debug using the HTTP Analyzer web development

    I wonder if there is any way of setting breakpoints in a Web service class. For instance the method in the class shown in the tutorial "Building a POJO Annotation-Driven Service":
    package annotation;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService(serviceName = "HelloService")
    public class HelloService{
    public HelloService() {
    @WebMethod
    public String sayHello (String s) {
    return "Hello " + s;
    That is, while you run the HTTP Analyzerl, the code can be debugged by setting breakpoints etc.

    Hi, I'm just using the default setup for HTTP Analyzer and having no problem using it.
    Just make sure to run the HTTP Analyzer first before running or starting your app server (Integrated weblogic Server).

  • HCP debugging and profiling does not work anymore

    Hi,
    starting HCP in debug or profile mode does not work anymore.
    Last week I developed a small java app and could debug it on HCP. Today I updated the HCP Tools eclipse plugins and now I can't change the state of the server to debug or profile. Of course the debugger does then not stop at my breakpoints.
    Any hints?
    Regards Helmut

    Hi Alex,
    as you can see on the screenshots the option is available. When I start in Debug Mode the state changes to started instead of debugging. Setting breakpoints then has no effect.
    1. Start in Debug Mode
    2. Server not started in Debug Mode
    Regards Helmut

  • Can U set breakpoint within a batch job and look at variables?

    Hello friends,
    I am trying to solve a problem that occurs within a program / transaction which can only be executed in background. The transaction in question is FPCOPARA and apparently this program cannot be executed in foreground.
    If I understand well, we cannot set breakpoints within a background job and as a result we cannot inspect variable etc. during job execution. So the question is how to achieve the same goal within a batch job? How did you do it? As this is a standard SAP transacrtion, no program modification can be applied.
    Your help is greatly appreciated.

    Hi......
    After u have executed ur batch job..
    go to sm37 >>select ur job using checkbox>>enter 'JDBG' in transaction box and press enter
    now debugger will start ..initial it will go through system code..after after a while the debugger will reach to your code and den you can debug the remaining report....
    all the best
    regards
    vivek

  • What is required in the HOST and QUEUE field when ...

    Hi
    When setting up my printer, i fill the options identical to what follows:
    PRINTER:  SAMSUNG HOME
    DRIVER:    GENERAL
    BEARER:  LPR <-----------------------------( NOT SURE IF IT IS THE CORRECT OPTION TO SELECT )
    The following fields appear once LPR is selected:
    ACCES POINT : HOME
    HOST:              WHAT COMES HERE?
    USER:              SKY00BER
    QUEUE:            WHAT COMES HERE?
    ORIENTATION: PORTRAIT
    PAPER SIZE: A4
     if it helps, my printer is SAMSUNG CLX-3175FW. It is Wifi Enable and is connected to my HOME acces point.
    please do correct me if there has to be changes to the BEARER or anything else.
    i could really use some help.
    thanks in advanced.

    sky00ber wrote:
     Hi,
    What is required in the HOST and QUEUE field when setting a WIFI printer?
    When setting up my printer, i fill the options identical to what follows:
    PRINTER:  SAMSUNG HOME
    DRIVER:    GENERAL
    BEARER:  LPR <-----------------------------( NOT SURE IF IT IS THE CORRECT OPTION TO SELECT )
    The following fields appear once LPR is selected:
    ACCES POINT : HOME
    HOST:              WHAT COMES HERE?
    USER:              SKY00BER
    QUEUE:            WHAT COMES HERE?
    ORIENTATION: PORTRAIT
    PAPER SIZE: A4
     if it helps, my printer is SAMSUNG CLX-3175FW. It is Wifi Enable and is connected to my HOME acces point.
    please do correct me if there has to be changes to the BEARER or anything else.
    HELP URGENTLY NEEDED!
    I'm not sure but I give it a try.Turn your security(WPA/WEP) and Firewall temporarely off. HOST is the IP address of the printer. QUEUE can be YES or a specific amount of prints, like 1,2,3......
    If I look at the manual of your printer I see that you can find the IP and MAC addresses in the Network Configuration Report.I don't know what the USER is doing there because if there is a user then there must be a password.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • The option to Set Breakpoints does not show up when I right-click any step

    Hi All,
    I am working with a SSIS package and trying to set breakpoints to view the contents of package scoped variables. I am running SQL Server 2008 R2 on Windows Server 2008 R2 and developing in Visual Studio 2008.
    When I right-click on an Execute SQL Task (or ANY step in the package) I see no menu pick to "Edit Breakpoints" or "Set Breakpoint". Can someone tell me why that option is missing?
    TIA

    Arthur,
    Thank you so much.
    Your answer might seem obvious to most everyone but me. The SSIS package was part of a larger ASP.NET Web Site project. As a result whenever I opened the Web Site Project the package showed up in the Solution Explorer and of course I just opened it. Nowhere
    have I read that if the package is opened in that manner so many development features would be missing.
    How foolish of me to also assume that if I started "SQL Server Business Intelligence Development Studio" and simply opened a package...that those critical features would not appear. Live and learn. LOL
    Have a great day!

  • HT2729 i have recently purchased a new computer and set up my i tunes account on it. i have synced my ipad but it wont sync the films that are on the ipad already. when i go to add on some new films it tells me i will lose the films that are already on th

    Hi i have recently purchased a new pc and set up my itunes account on it - i have synced my ipad to it but it wont sync the films that are stored on the ipad. when i go to add new ones are it says it will delete the ones on the ipad and replace them with the new ones.How can i keep the films that are already on there and get them into itunes?
    I am unable to delete my itunes account on my old pc due to technical failure - could this be why?
    Hannah

    Sync Your iOS Device with a New Computer Without Losing Data
    http://www.howtogeek.com/104298/sync-your-ios-device-with-a-new-computer-without -losing-data/
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive
    https://discussions.apple.com/docs/DOC-3141
     Cheers, Tom

  • I had to take my hp back to factory setting and reinstall itunes, when I tried to use Itunes match it said i had to Deauthorize all my computers. I am using the same computer and desperately need access to my music.

    I had to take my hp back to factory setting and reinstall itunes, when I tried to use Itunes match it said i had to Deauthorize all my computers. I am using the same computer and desperately need access to my music.

    When you reset to factory settings, the computer is de-authorised.
    In iTunes menu Store > View Account > sign in > App Store > Deauthorise All.
    Once done, authorise this computer iTunes.
    Note: you can only do that once a year.

  • Even though my email accounts seem to be set up when i press the email icon it just lists icloud, EOL etc and asks for new account to be set up

    Even though my email accounts seem to be set up when i press the email icon it comes up with Icloud, EOL etc like it is not set up.  When you press on icloud and put in details it says the account is already set up.
    Email had been set up and receiving and sending email but seems that no longer working.  Have i bumped something and how do i fix it.

    This is for Ipad rather iphone that am having this problem

  • HT2292 hello i'm facing  problem  i downloaded iTunes version 11 32bit  and after i installing the set up when i opened the iTunes a massages  occur saying i tunes could not connect to iTunes store an unknown error occurred (-3212) even  though my interne

    Hello i'm facing  problem  i downloaded itunes version 11 32bit for windows 7 and after i installing the set up when i opened the iTunes a massages  occur saying i tunes could not connect to iTunes store an unknown error occurred (-3212) even  though my internet is on

    Try this...
    Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
    cmd /k netsh winsock reset
    Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
    You should get something similar to this:
    Reboot the computer and the problem should be resolved.
    If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
    tt2

  • How to change a phone number that was set-up when ipad was being set-up. It was my wife's and not mine. want my number as the main number.

    How to change a phone number that was set-up when you first set Ipad up. Took wife's number instead of mine. Her number is on i-cloud and messaging, face time.

    Goto -settings-iCloud-delete account u will then have to set up a new iCloud account.if u do this it will delete anything u may have backed up in  iCloud on your old account.

  • I have 3 IPOD touches.  I just got a new one and set up an apple id for it.  When i go to the store, it brings up an old apple id to one of the other ipods.  Why isnt it bringing up the id i gave to the ipod?

    I have 3 ipod touches.  Just got a new one and set up an apple id for it.  But when i use the ipod to go to store to make a purchace.  It tells me to sign in, and brings up an Apple ID and ask for password.  the problem is the Apple ID its bringing up is for my other Ipods.  How do i change it to bring up my id i set up with That ipod.  I never once put that id into the current ipod.  Like i dont even know how it got there.

    This is what yo have to do:
    Go to Settings>iTunes and App Stores and sign out and sign in with the other account.
    That is the only place.
    Try signing out. Then
    Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    Then sign back in.

  • I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords but it does not work for the macbook.

    I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords several times but it does not work for the macbook.

    You will have to provide the correct password to delete the existing account, if you have tried but are not getting the password reset email, contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • My iphone 4s was stolen i have locked and set it up to erase content when the iphone is turned on, it has 'find my iphone' on it will i still be able to track it if it turns on?

    My iphone 4s was stolen i have locked and set it up to erase content when the iphone is turned on, it has 'find my iphone' on it will i still be able to track it if it turns on? PLEASE HELP really want to find it

    You're welcome.
    Once again, the Find My iPhone app has no effect on this.
    Find My iPhone must be enabled with your iCloud account settings on the iPhone.
    Location Services must be enabled.
    The iPhone must be connected to the internet via an available wi-fi network or via the carrier's cellular network.
    If the iPhone is powered off, none of the Find My iPhone features can work, and the same if the thief or whoever has access to the iPhone has restored the iPhone with iTunes as a new iPhone on another computer.

Maybe you are looking for

  • "Other" Category eating up memory

    I've had my 4GB iPod Nano for about two years now, and since I've gotten it, I've always had the "Other" category of my iPod fill up more memory space than it should. When I had my old iPod Mini, the "Other" category was tiny, like about 2-5 percent

  • Left and Right-Clic​k Only Working Half The Time

    Ok, I have a Pavilion G6, A6Y36UA#ABA  The last few days, my mouse (trackpad and buttons on the laptop NOT an external one) works fine but I can't left-click on the desktop, start menu (or apparently Paint?). Everytime I try to left-click, the right-

  • Curving lines harder in CS5.5 than in CS5

    Hi, I used to be able to draw a line with the Pencil Tool (in Ink Mode), click on it with the Subselection Tool (which would add a whole bunch of anchor points), and then move these anchor points around and they would beautifully curve this line. Now

  • Download linked images quickly (was: Downloading images)

    Hi everyone, I have a web page (on someone else's website) where I can click a link to a high-resolution image in order to download it. The page has about 50 links to high-res images on it so I would need to click once for every single link. I'm not

  • How to create seach help

    HI!All            I want to create a search help like R/3 F4. How can i acheive this on press of F4 button in EP. Regards Parth