|
1 | 1 | --- |
2 | | -title: "Edit a Breakpoint Location" |
3 | | -ms.custom: "" |
4 | | -ms.date: "03/14/2017" |
| 2 | +title: Edit a Breakpoint Location |
| 3 | +titleSuffix: T-SQL debugger |
5 | 4 | ms.prod: sql |
6 | 5 | ms.prod_service: "sql-tools" |
7 | 6 | ms.technology: scripting |
8 | | -ms.reviewer: "" |
9 | 7 | ms.topic: conceptual |
10 | 8 | helpviewer_keywords: |
11 | 9 | - "Transact-SQL debugger, breakpoint location" |
12 | 10 | ms.assetid: 5c28e411-0377-4210-a7ce-2a5c13dcdf74 |
13 | 11 | author: markingmyname |
14 | 12 | ms.author: maghan |
| 13 | +ms.reviewer: "" |
| 14 | +ms.custom: "" |
| 15 | +ms.date: 12/04/2019 |
15 | 16 | monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current" |
16 | 17 | --- |
| 18 | + |
17 | 19 | # Edit a Breakpoint Location |
18 | | -[!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] |
19 | | - The breakpoint location specifies the line and character where the breakpoint resides in a [!INCLUDE[tsql](../../includes/tsql-md.md)] script file. You can edit the breakpoint location to move the breakpoint to another location in the script, or to a different script. |
20 | | - |
21 | | -## Editing a Location |
22 | | - When you edit a breakpoint location, the breakpoint moves to the new location, carrying with it all of the existing properties, such as a hit count or condition. |
23 | | - |
24 | | -#### To Edit a Breakpoint Location |
25 | | - |
26 | | -1. In the editor window, right-click the breakpoint glyph, and then click **Location** on the shortcut menu. |
| 20 | + |
| 21 | +[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)] |
| 22 | + |
| 23 | +The breakpoint location specifies the line and character where the breakpoint resides in a [!INCLUDE[tsql](../../includes/tsql-md.md)] script file. You can edit the breakpoint location to move the breakpoint to another location in the script, or to a different script. |
| 24 | + |
| 25 | +## Editing a Location |
| 26 | + |
| 27 | +When you edit a breakpoint location, the breakpoint moves to the new location, carrying with it all of the existing properties, such as a hit count or condition. |
| 28 | + |
| 29 | +#### To Edit a Breakpoint Location |
| 30 | + |
| 31 | +1. In the editor window, right-click the breakpoint glyph, and then click **Location** on the shortcut menu. |
27 | 32 |
|
28 | 33 | -or- |
29 | 34 |
|
30 | 35 | In the **Breakpoints** window, right-click the breakpoint glyph, and then click **Location** on the shortcut menu. |
31 | 36 |
|
32 | | -2. In the **File Breakpoint** dialog box, edit **File** to specify a new file, **Line** to specify a new line, or **Character** to specify a new location within the line. If the new file you specify is already open in a query editor window, the breakpoint is moved to that editor window. If the file is not opened, a new editor window is opened, the file is loaded in, and the breakpoint moved to the new location. |
| 37 | +2. In the **File Breakpoint** dialog box, edit **File** to specify a new file, **Line** to specify a new line, or **Character** to specify a new location within the line. If the new file you specify is already open in a query editor window, the breakpoint is moved to that editor window. If the file is not opened, a new editor window is opened, the file is loaded in, and the breakpoint moved to the new location. |
33 | 38 |
|
34 | 39 | The **Allow the source code to be different from the original version** option has no effect when debugging [!INCLUDE[tsql](../../includes/tsql-md.md)]. |
35 | 40 |
|
36 | | -## See Also |
37 | | - [Specify a Hit Count](../../relational-databases/scripting/specify-a-hit-count.md) |
38 | | - [Specify a Breakpoint Action](../../relational-databases/scripting/specify-a-breakpoint-action.md) |
39 | | - [Specify a Breakpoint Condition](../../relational-databases/scripting/specify-a-breakpoint-condition.md) |
40 | | - [Specify a Breakpoint Filter](../../relational-databases/scripting/specify-a-breakpoint-filter.md) |
| 41 | +## See Also |
| 42 | + |
| 43 | +- [Specify a Hit Count](../../relational-databases/scripting/specify-a-hit-count.md) |
| 44 | +- [Specify a Breakpoint Action](../../relational-databases/scripting/specify-a-breakpoint-action.md) |
| 45 | +- [Specify a Breakpoint Condition](../../relational-databases/scripting/specify-a-breakpoint-condition.md) |
| 46 | +- [Specify a Breakpoint Filter](../../relational-databases/scripting/specify-a-breakpoint-filter.md) |
0 commit comments