You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# ChangeLog
2
2
3
+
# V1.13.0-pre8
4
+
* Added `hardwareBreakpoints: {required: boolean, limit: numer}` to debug configuration. You can force all breakpoints to use hardware breakpoints. You can also ask cortex-debug to limit the number such breakpoints or you can let gdb or your gdb-server enforce a limit. Please use `hardwareBreakpoints` with caution as in most cases it is better to let gdb decide which type of breakpoint to use based on memory types while making sure you are not over the limit -- this is especially true for devices with large SRAMs where you can have near inifite breakpoints and not even have a performance penalty. HW breakpoints are not inherently better than SW breakpoints so long as GDB can read/write to memory locations.
5
+
3
6
# V1.13.0-pre7
4
7
* Added `overridePreEndSessionCommands` to control how a session ends. If the session does not end your way, we sill end the session the normal way
5
8
* We try `monitor exit` to exit the server before we try `target-disconnect` for those servers that do not follow the GDB rules
Copy file name to clipboardExpand all lines: debug_attributes.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,9 @@ If the type is marked as `{...}` it means that it is a complex item can have mul
36
36
| gdbPath | string | Both | This setting can be used to override the GDB path user/workspace setting for a particular launch configuration. This should be the full pathname to the executable (or name of the executable if it is in your PATH). Note that other toolchain executables with the configured prefix must still be available. |
37
37
| gdbTarget | string | Both | For externally (servertype = "external") controlled GDB Servers you must specify the GDB target to connect to. This can either be a "hostname:port" combination or path to a serial port |
38
38
| graphConfig | {object} | Both | Description of how graphing can be done. See our Wiki for details |
39
+
| hardwareBreakpoints | object | Both | WARNING: Force only HW breakpoints to be used. By default GDB will use HW or SW breakpoints depending on memory type. Use this only in rare circumstances to work around issues in your gdb-server or hardware. This setting is NOT recommended for general use. |
40
+
| hardwareBreakpoints<br>.limit | number | Both | If limit > 0, enforce a limit on the number of hardware breakpoints that can be used |
41
+
| hardwareBreakpoints<br>.required | boolean | Both | If true, forces the use of hardware breakpoints |
39
42
| interface | string | Both | Debug Interface type to use for connections (defaults to SWD) - Used for J-Link, ST-LINK and BMP probes. |
40
43
| ipAddress | string | Both | IP Address for networked J-Link Adapter |
41
44
| jlinkscript | string | Both | J-Link script file - optional input file for customizing J-Link actions. |
Copy file name to clipboardExpand all lines: package.json
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{
2
-
"version": "1.13.0-pre7",
2
+
"version": "1.13.0-pre8",
3
3
"preview": false,
4
4
"activationEvents": [
5
5
"onDebugResolve:cortex-debug",
@@ -800,6 +800,24 @@
800
800
"maximum": 9,
801
801
"default": 0
802
802
},
803
+
"hardwareBreakpoints": {
804
+
"description": "WARNING: Force only HW breakpoints to be used. By default GDB will use HW or SW breakpoints depending on memory type. Use this only in rare circumstances to work around issues in your gdb-server or hardware. This setting is NOT recommended for general use.",
805
+
"type": "object",
806
+
"properties": {
807
+
"required": {
808
+
"type": "boolean",
809
+
"default": false,
810
+
"description": "If true, forces the use of hardware breakpoints"
811
+
},
812
+
"limit": {
813
+
"type": "number",
814
+
"minimum": 0,
815
+
"multipleOf": 1,
816
+
"default": 0,
817
+
"description": "If limit > 0, enforce a limit on the number of hardware breakpoints that can be used"
818
+
}
819
+
}
820
+
},
803
821
"liveWatch": {
804
822
"description": "An object with parameters for Live Watch",
805
823
"properties": {
@@ -1950,6 +1968,24 @@
1950
1968
"maximum": 9,
1951
1969
"default": 0
1952
1970
},
1971
+
"hardwareBreakpoints": {
1972
+
"description": "WARNING: Force only HW breakpoints to be used. By default GDB will use HW or SW breakpoints depending on memory type. Use this only in rare circumstances to work around issues in your gdb-server or hardware. This setting is NOT recommended for general use.",
1973
+
"type": "object",
1974
+
"properties": {
1975
+
"required": {
1976
+
"type": "boolean",
1977
+
"default": false,
1978
+
"description": "If true, forces the use of hardware breakpoints"
1979
+
},
1980
+
"limit": {
1981
+
"type": "number",
1982
+
"minimum": 0,
1983
+
"multipleOf": 1,
1984
+
"default": 0,
1985
+
"description": "If limit > 0, enforce a limit on the number of hardware breakpoints that can be used"
1986
+
}
1987
+
}
1988
+
},
1953
1989
"liveWatch": {
1954
1990
"description": "An object with parameters for Live Watch",
0 commit comments