Skip to content

Commit

Permalink
v0.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
haneefdm committed Feb 2, 2023
1 parent fe0be67 commit 3ff9a57
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Please note that we are still in Preview mode. For those using the API, this can
- Apply settings to workspace/user/all-views beyond the current view
- Scrollbars: We are not happy about the scrollbars. While scrolling works with the track-pad or mouse-wheel, the scrollbars are not always visible. We hope to have proper scrollbars in the future and soon. The infinite scrolling makes scrollbars a bit tricky. Any help is appreciated if you are a HTML/CSS/React expert.

## 0.0.19 - Feb 2, 2022

- Experimental: Added Rust Probe Debugger to the list of debuggers supported. https://github.com/probe-rs/probe-rs/tree/master/debugger
- Fix [Issue#10 Misaligned rows when saving memory to file](https://github.com/mcu-debug/memview/issues/10)

## 0.0.18 - Nov 22, 2022

- You can now use you mouse to select a range of cells using your mouse. A single left-click starts the selection and Shift-left-click will extend the selection
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "MemoryView",
"preview": true,
"description": "Provide memory views for debuggers",
"version": "0.0.18",
"version": "0.0.19",
"publisher": "mcu-debug",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions src/view/memview/memview-doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export class MemViewPanelProvider implements vscode.WebviewViewProvider, vscode.
public async dumpAll(doc: DualViewDoc, cb: (line: string) => void) {
if (doc.sessionStatus === DocDebuggerStatus.Stopped) {
try {
// Don't are if we cannot refresh. Dump what we got
// Don't care if we cannot refresh. Dump what we got
await doc.refreshMemoryIfStale();
}
finally { }
Expand All @@ -423,13 +423,13 @@ export class MemViewPanelProvider implements vscode.WebviewViewProvider, vscode.
for (let pageIx = 0; pageIx < memory.numPages(); pageIx++, base += BigInt(DualViewDoc.PageSize)) {
const page = memory.getPage(base);
if (page && page.length) {
let line: string[] = [hexFmt64(base, false)];
let addr = base;
let line: string[] = [hexFmt64(addr, false)];
for (let ix = 0; ix < page.length; ix++) {
if (line.length === 17) {
cb && cb(line.join(' '));
line = [hexFmt64(addr, false)];
addr += 16n;
line = [hexFmt64(addr, false)];
}
line.push(page[ix].toString(16).padStart(2, '0'));
}
Expand Down
1 change: 1 addition & 0 deletions src/view/memview/selection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export class SelContext {
await refreshPage(addr);
}
}
lines.length && lines.push('');
const str = lines.join('\n');
if (str) {
// The webview also does a copy of the single cell we are now focussed on. Delay our
Expand Down

0 comments on commit 3ff9a57

Please sign in to comment.