microsoft / microsoft/vscode-cpptools

Investigate use of the crash reporting system in Electron/VSCode

Offen
#7,356 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

internal Language Service
Vorherrschende Sprache
TypeScript
Sterne
6.2k
Forks
1.7k
Ø Merge
14 Std. 46 Min.
Gemergte PRs (30 T.)
61

Beschreibung

Some information about how to use the crash reporting system in Electron, is here: https://github.com/microsoft/vscode/issues/118767#issuecomment-809537326

Child process are now monitored by the crash handler from runtime, you can obtain the reports following the steps https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-and-symbolicating-local-crash-reports. Once the app is quit, the crash report will be under /pending. To symbolicate, you can use https://github.com/nornagon/electron-minidump/blob/master/README.md and the symbols need to generated in the following format https://github.com/google/breakpad/blob/master/README.ANDROID#L93-L113. I will update the documentation on this in the wiki.

Opening this issue to track trying to make use of this system for collecting crash diagnostics. This would be an improvement over our current system, which currently only receives crash stacks from macOS.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginnen Sie mit der verlinkten VS Code-Anleitung zur Absturzberichterstattung, dem Speicherort crash-reporter-directory/pending sowie der Dokumentation zum electron-minidump- und Breakpad-Symbolformat. Ermitteln Sie, ob dieses Projekt über macOS hinaus Diagnosedaten erfassen und symbolisieren kann, und dokumentieren oder implementieren Sie anschließend einen konkreten Integrationspfad und dessen Abschlusskriterien.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
electron
Bereich
desktop, observability-sre
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.