Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Marus/cortex-debug
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.0
Choose a base ref
...
head repository: Marus/cortex-debug
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 1,900 additions and 6,648 deletions.
  1. +67 −0 .github/ISSUE_TEMPLATE/bug_report.md
  2. +32 −0 .github/ISSUE_TEMPLATE/feature_request.md
  3. +7 −7 .github/workflows/main.yaml
  4. +2 −1 .vscode/settings.json
  5. +101 −19 CHANGELOG.md
  6. +1 −1 LICENSE
  7. +30 −30 README.md
  8. +0 −20 TODO.md
  9. +6 −6 binary_modules/package-lock.json
  10. +91 −67 debug_attributes.md
  11. BIN images/gdb-server.png
  12. 0 options-doc.py → options-doc.py.unused
  13. +36 −81 package-lock.json
  14. +140 −136 package.json
  15. +158 −0 release.js
  16. +0 −83 serial-port-build.sh
  17. +5 −2 src/backend/backend.ts
  18. +67 −28 src/backend/disasm.ts
  19. +6 −6 src/backend/mi2/mi2.ts
  20. +2 −0 src/backend/server.ts
  21. +13 −13 src/backend/symbols.ts
  22. +1 −1 src/bmp.ts
  23. +52 −6 src/common.ts
  24. +156 −0 src/docgen.ts
  25. +1 −1 src/external.ts
  26. +44 −17 src/frontend/configprovider.ts
  27. +0 −47 src/frontend/disassembly_content_provider.ts
  28. +50 −211 src/frontend/extension.ts
  29. +77 −28 src/frontend/rtt_terminal.ts
  30. +0 −440 src/frontend/svd.ts
  31. +1 −1 src/frontend/swo/decoders/advanced.ts
  32. +23 −14 src/frontend/swo/decoders/console.ts
  33. +11 −2 src/frontend/swo/sources/socket.ts
  34. +130 −12 src/frontend/views/live-watch.ts
  35. +0 −50 src/frontend/views/nodes/messagenode.ts
  36. +0 −133 src/frontend/views/nodes/peripheralclusternode.ts
  37. +0 −291 src/frontend/views/nodes/peripheralfieldnode.ts
  38. +0 −238 src/frontend/views/nodes/peripheralnode.ts
  39. +0 −308 src/frontend/views/nodes/peripheralregisternode.ts
  40. +0 −306 src/frontend/views/peripheral.ts
  41. +0 −225 src/frontend/views/registers.ts
  42. +362 −350 src/gdb.ts
  43. +0 −3,313 src/gdb.ts.bak
  44. +2 −2 src/jlink.ts
  45. +51 −48 src/live-watch-monitor.ts
  46. +4 −4 src/openocd.ts
  47. +1 −1 src/pemicro.ts
  48. +1 −1 src/pyocd.ts
  49. +1 −1 src/qemu.ts
  50. +130 −90 src/remote/package-lock.json
  51. +2 −2 src/remote/package.json
  52. +1 −3 src/stlink.ts
  53. +1 −1 src/stutil.ts
  54. +34 −1 webpack.config.js
67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
name: Bug/issue report. You MUST use this form unless you have a feature request
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---
### Please make you search through our existing [issues](https://github.com/Marus/cortex-debug/issues?q=type:issue) (both open and closed)
It may help to look at these instructions in `Preview` mode. Please visit the correct repo to file an issue. If this is an issue with
* Peripherals/SVD Viewer: [https://github.com/mcu-debug/peripheral-viewer](https://github.com/mcu-debug/peripheral-viewer)
* Memory Viewer: [https://github.com/mcu-debug/memview](https://github.com/mcu-debug/memview)
* RTOS Viewer: [https://github.com/mcu-debug/rtos-views](https://github.com/mcu-debug/rtos-views)
* the debugger itself, continue below

Please read our documentation as well. You have a lot of control over how Cortex-Debug works. Besides the top level [README.md](https://github.com/Marus/cortex-debug/blob/master/README.md), we have the following

https://github.com/Marus/cortex-debug/wiki
https://github.com/Marus/cortex-debug/wiki/Cortex-Debug-Under-the-hood
https://github.com/Marus/cortex-debug/blob/master/debug_attributes.md

*Finally, make sure all your external tools are configured properly and working. We print all the commands in the Debug Console. Most of the bug reports are from Linux users with improperly installed GNU tools. If you can't run those tools, neither can we.*

Thank you for helping reduce the number of issues which is becoming overwhelming as most of them are not issues at all. You can delete all the above text and start filing the issue

**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Start debug session
2. Click on '....'
3. Scroll down to '....'
4. See issue

**Expected behavior**

[comment]: <> A clear and concise description of what you expected to happen.

**Screenshots**

[comment]: <> If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**

[comment]: <> Whenever possible, please make sure you are using the latest versions of VSCode and our extension

- Cortex-Debug Version (this extension) [e.g. 0.2.3]
- OS: [e.g. Linux Ubuntu 18.04 LTS, Windows 11, etc.]
- GDB Version: [e.g. 1.11.1]
- Compiler Toolchain Version: [e.g. arn-none-eabi V 11.1]

**Please include `launch.json`**

*Note: We are unlikely to look at the issue if you do not supply this*
```
Paste launch.json contents here
```

**Attach text from `Debug Console`**

Please enable debug output in your launch.json (`"showDevDebugOutput": "raw"`). It this is too large, please attach it as a file
```
Paste Debug Console contents here
```

**Additional context**
Add any other context about the problem here.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

Please visit the correct repo to file an feature request. If this is an feature for
* Peripherals/SVD Viewer: [https://github.com/mcu-debug/peripheral-viewer](https://github.com/mcu-debug/peripheral-viewer)
* Memory Viewer: [https://github.com/mcu-debug/memview](https://github.com/mcu-debug/memview)
* RTOS Viewer: [https://github.com/mcu-debug/rtos-views](https://github.com/mcu-debug/rtos-views)
* the debugger itself, continue below

Please read our documentation as well. You have a lot of control over how Cortex-Debug works. Besides the top level README.md, we have the following

https://github.com/Marus/cortex-debug/wiki
https://github.com/Marus/cortex-debug/wikiCortex-Debug-Under-the-hood
https://github.com/Marus/cortex-debug/blob/master/debug_attributes.md

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 7 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -11,10 +11,10 @@ jobs:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache NPM Install
id: cache-npm
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./node_modules
key: npm-${{ hashFiles('./package-lock.json') }}
@@ -28,10 +28,10 @@ jobs:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Load NPM install
id: cache-npm
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./node_modules
key: npm-${{ hashFiles('./package-lock.json') }}
@@ -40,7 +40,7 @@ jobs:
- name: Package Binary
run: ./node_modules/vsce/vsce package -o cortex-debug.vsix
- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: cortex-debug.vsix
path: ./cortex-debug.vsix
@@ -50,10 +50,10 @@ jobs:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Load NPM install
id: cache-npm
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./node_modules
key: npm-${{ hashFiles('./package-lock.json') }}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -42,5 +42,6 @@
"Syms",
"XPERIPHERALS",
"xtensa"
]
],
"cmake.configureOnOpen": false
}
Loading