WebFreak001 / code-debug

Native debugging for VSCode
The Unlicense
403 stars 116 forks source link

Add `registerLimit` config option to specify the registers to list in Registers view (continuation of PR #444) #446

Closed chenzhiy2001 closed 2 weeks ago

chenzhiy2001 commented 2 weeks ago

This is the continuation of PR #444. I created the pull request again because I squashed commits and force pushed in a bad way and caused the PR #444 closed itself.

The original pull request message is following:

In cases like https://github.com/WebFreak001/code-debug/issues/421, fetching unfetchable registers can corrupt the whole Registers view.

So I added registerLimit config option to let users specify what registers they want the debugger to automatically fetch, thus avoiding the issue.