Strange behavior with server web controls

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Strange behavior with server web controls

    Hi,

    I don't know if anybody else experienced this, but sometimes, I can't set
    breakpoints the event code of a button on a form for some reason. The code
    still executes, but I can't stop the execution with a breakpoint. While
    compiling, a question mark appears in the red dot on the left side of the
    code editor and if I hover my mouse over it, it says

    "The breakpoint will not currently be hit. No executable code is associated
    with this line."

    The last time I experienced this, I has to copy the event code somewhere
    else, delete the form button and recreate it by pasting the code back.
    Anybody had this happen to them? Is there an explanation?

    Thanks

    Eric


    news.public.microsoft.com Guest

  2. Similar Questions and Discussions

    1. Strange behavior of invisible controls
      Hello: I'm updating multiple rows in the datagrid, using the routine described in the article "Top Questions about the DataGrid Web Server...
    2. Strange web client or server behavior
      Hi, I've come across I strange scenario which I can't explain... Please Help !!!! 1) I created a simple web service on a server 2) I created a...
    3. Strange behavior
      The problem seems to be in c code calling ruby calling c code. ======== start test.rb puts "about to require curses" require "curses" puts...
    4. Strange behavior of $.
      Apparently $. is not always set correct (see second ruby 1liner). Is this a bug? 12:12:42 : cat -n n 1 2 3 BAR="hello" 4 12:12:47 : ruby...
    5. Why strange IF...ELSE behavior
      Hi all, I'm getting a strange result with the following IF statement: $bar = ($foo == 'last') ? true : false; In my script $foo normaly has...
  3. #2

    Default Re: Strange behavior with server web controls

    Just an idea...

    Sometimes, VS.NET would erase everything after the Handles clause. Perhaps you
    could see if that's the case.

    I'm just speculating that the compiler is noticing that without a handler,
    there's nothing to call the code.

    Ken

    "news.public.microsoft.com" <mindmover@hotmail.com> wrote in message
    news:eIU3lNWUDHA.372@tk2msftngp13.phx.gbl...
    Hi,

    I don't know if anybody else experienced this, but sometimes, I can't set
    breakpoints the event code of a button on a form for some reason. The code
    still executes, but I can't stop the execution with a breakpoint. While
    compiling, a question mark appears in the red dot on the left side of the
    code editor and if I hover my mouse over it, it says

    "The breakpoint will not currently be hit. No executable code is associated
    with this line."

    The last time I experienced this, I has to copy the event code somewhere
    else, delete the form button and recreate it by pasting the code back.
    Anybody had this happen to them? Is there an explanation?

    Thanks

    Eric



    Ken Cox [Microsoft MVP] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139