9.4.4- Client-side versus Server-side Debugging
by NT Community Manager.
|
| << 9.4.3- The Microsoft Script Debugger | Chapter9 | 9.5.0- The Server Object's Role in Debugging >> |
Client-side versus Server-side Debugging
There's really no difference between client and server-side debugging. If you remember, in the Running Documents window, you have a chance to decidewhere you want your debugging to occur.
|
|
Remember that we double-clicked on the bottom instance of Debug.asp to open the main window, and then set breakpoints in this window. But what happens if you do the same with the firstinstance of Debug.asp? Why not give it a try –you'll be rewarded with a window that might not make sense. Before you tryyou'll need to clear any breakpoints in the ASP script (Ctrl-Shift-F9) and then refresh yourbrowser window.
|
|
This is the HTML page as returned by ASP. Remember when weare debugging the client-side, all of our ASP script has been executed, so allwe see here is the HTML tags and any client-side script. Now this file doesn'thave any client-side script, so it's not shown, but if it did have script youfollow exactly the same methods as debugging server-side script.
| << 9.4.3- The Microsoft Script Debugger | Chapter9 | 9.5.0- The Server Object's Role in Debugging >> |

RSS



