mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-24 08:02:27 +00:00
vscode: added telemetry.json
This commit is contained in:
1 parent
28aaf16b36
commit
820b1a404f
4 files changed
+61
-16
No files matched your search
@@ -3,6 +3,7 @@
|
||||
# downloads from the servers on first use (ASSET_URLS in src/extension.ts).
|
||||
**
|
||||
!package.json
|
||||
!telemetry.json
|
||||
!README.md
|
||||
!CHANGELOG.md
|
||||
!LICENSE
|
||||
|
||||
+8
-12
@@ -1,17 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## Unreleased
|
||||
|
||||
- Compiler and emulator crashes send an error report to 8bitworkshop.com,
|
||||
following VS Code's `telemetry.telemetryLevel` setting. See the README.
|
||||
|
||||
- The Atari 2600 now stops at breakpoints and steps by instruction, not by
|
||||
frame, and can step back.
|
||||
- `.s`, `.asm`, `.inc` and `.a` files in a project get the highlighting
|
||||
for the platform's CPU. `.acme` files get 6502 highlighting.
|
||||
- The platform list shows the 8bitworkshop book for each platform that
|
||||
has one, with a button to open it.
|
||||
|
||||
## 0.1.0
|
||||
|
||||
First preview.
|
||||
@@ -23,3 +11,11 @@ First preview.
|
||||
- Emulator panel with pause, reset, and mute.
|
||||
- Syntax highlighting for 6502, Z80, and 6809 assembly.
|
||||
- Toolchains download on first use, checked against built-in hashes.
|
||||
- Compiler and emulator crashes send an error report to 8bitworkshop.com,
|
||||
following VS Code's `telemetry.telemetryLevel` setting. See the README.
|
||||
- The Atari 2600 now stops at breakpoints and steps by instruction, not by
|
||||
frame, and can step back.
|
||||
- `.s`, `.asm`, `.inc` and `.a` files in a project get the highlighting
|
||||
for the platform's CPU. `.acme` files get 6502 highlighting.
|
||||
- The platform list shows the 8bitworkshop book for each platform that
|
||||
has one, with a button to open it.
|
||||
+8
-4
@@ -121,10 +121,14 @@ and Open Example lists show which platforms have one.
|
||||
## Error reports
|
||||
|
||||
When a compiler or the emulator crashes, the extension sends an error report
|
||||
to 8bitworkshop.com: the error message, stack trace, platform, tool, and
|
||||
VS Code and extension versions. It doesn't send your source files. Errors in your
|
||||
program, like a syntax error or a crash in the emulated machine, aren't
|
||||
reported.
|
||||
to 8bitworkshop.com: the error message, stack trace, platform, and tool, plus
|
||||
VS Code and extension versions. It doesn't send your source files, and VS Code
|
||||
removes file paths from the report before it leaves. Errors in your program,
|
||||
like a syntax error or a crash in the emulated machine, aren't reported.
|
||||
|
||||
VS Code attaches identifiers to every report: a machine id (stable for your
|
||||
VS Code install, not tied to your identity), a session id, and a device id.
|
||||
These group reports from one install together.
|
||||
|
||||
The reports follow VS Code's `telemetry.telemetryLevel` setting: set it to
|
||||
`off` to stop them.
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"commonProperties": {},
|
||||
"events": {
|
||||
"error": {
|
||||
"owner": "sehugg",
|
||||
"comment": "A build tool, emulator, or extension failure, sent to 8bitworkshop.com/error.php. Gated on VS Code's telemetry.telemetryLevel through env.createTelemetryLogger; nothing is sent when telemetry is off. Uncaught errors from this extension use the same sender.",
|
||||
"source": {
|
||||
"classification": "SystemMetaData",
|
||||
"purpose": "FeatureInsight",
|
||||
"comment": "Where the failure came from: vscode, worker, emu, or ide."
|
||||
},
|
||||
"msg": {
|
||||
"classification": "CallstackOrException",
|
||||
"purpose": "PerformanceAndHealth",
|
||||
"comment": "Error message, cleaned by VS Code and truncated to 2000 characters."
|
||||
},
|
||||
"stack": {
|
||||
"classification": "CallstackOrException",
|
||||
"purpose": "PerformanceAndHealth",
|
||||
"comment": "Stack trace, with user paths scrubbed by VS Code, truncated to 2000 characters."
|
||||
},
|
||||
"clientTime": {
|
||||
"classification": "SystemMetaData",
|
||||
"purpose": "PerformanceAndHealth",
|
||||
"comment": "ISO 8601 timestamp from the client."
|
||||
},
|
||||
"platform": {
|
||||
"classification": "SystemMetaData",
|
||||
"purpose": "FeatureInsight",
|
||||
"comment": "Platform id, for example nes or c64."
|
||||
},
|
||||
"tool": {
|
||||
"classification": "SystemMetaData",
|
||||
"purpose": "FeatureInsight",
|
||||
"comment": "Build tool id, for example cc65 or dasm."
|
||||
},
|
||||
"window": {
|
||||
"classification": "SystemMetaData",
|
||||
"purpose": "FeatureInsight",
|
||||
"comment": "Window or workspace identifier, when provided."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user