Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to:
| Edition | Visual Basic | C# | F# | C++ | Web Developer | 
|---|---|---|---|---|---|
| Express | .gif) | .gif) | .gif) | .gif) | .gif) | 
| Pro, Premium, and Ultimate | .gif) | .gif) | .gif) | .gif) | .gif) | 
In Visual Studio 2008, you can set a breakpoint in a server-side file. At run time, the breakpoint is automatically mapped to a breakpoint at the corresponding location in the client-side file.
Breakpoint mapping is subject to certain limitations. For more information, see Limitations on Script Debugging.
Note
Client-side breakpoints persist across debugging sessions, even if you close Visual Studio.
To set a breakpoint in a script file
- Open the server-side script file. 
- On the line where you want to set the breakpoint: - Click the gutter on the left side of the source window, or 
- Right-click the line. 
 
- Point to Breakpoint, and then click Insert Breakpoint. - If you are in debug mode or break mode, the breakpoint is immediately mapped to the client-side file. If you are in design mode, the breakpoint is mapped when you start debugging. 
To open a server-side script file
- In Solution Explorer, open the <Website Pathname> node. 
- Double-click the script file that you want to view. - The server-side script file opens in a source window. 
See Also
Reference
Limitations on Script Debugging
Concepts
Using Breakpoints and Tracepoints