-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: source_links with no embedded sources (#1108)
- Loading branch information
Showing
14 changed files
with
160 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,6 @@ __pycache__ | |
|
||
# mkdocs | ||
site | ||
|
||
# New test snapshots | ||
*.snap.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
...ts/integration/snapshots/integration__symbolication__dotnet_only_source_links_in_app.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
source: crates/symbolicator-service/tests/integration/symbolication.rs | ||
assertion_line: 253 | ||
expression: response.unwrap() | ||
--- | ||
stacktraces: | ||
- frames: | ||
- status: symbolicated | ||
original_index: 0 | ||
addr_mode: "rel:0" | ||
instruction_addr: "0x2f" | ||
function_id: "0x5" | ||
lang: csharp | ||
filename: Program.cs | ||
abs_path: "C:\\dev\\dotnet\\samples\\Sentry.Samples.Console.Basic\\Program.cs" | ||
lineno: 13 | ||
pre_context: | ||
- " // When debug is enabled, the Sentry client will emit detailed debugging information to the console." | ||
- " o.Debug = true;" | ||
- "});" | ||
- "" | ||
- // The following unhandled exception will be captured and sent to Sentry. | ||
context_line: "throw new Exception(\"test\");" | ||
source_link: "https://github.com/raw/getsentry/sentry-dotnet/b31b62192e6934ea04396456461f430e143cf4f9/samples/Sentry.Samples.Console.Basic/Program.cs" | ||
in_app: true | ||
modules: | ||
- debug_status: found | ||
features: | ||
has_debug_info: true | ||
has_unwind_info: false | ||
has_symbols: false | ||
has_sources: true | ||
arch: unknown | ||
type: pe_dotnet | ||
debug_id: 0c380a12-8221-4069-8565-bee6b3ac196e-a596286e | ||
debug_file: source-links.pdb | ||
image_addr: "0x0" | ||
candidates: | ||
- source: local | ||
location: "http://localhost:<port>/symbols/source-links.pdb/0C380A12822140698565BEE6B3AC196Ea596286e/source-links.src.zip" | ||
download: | ||
status: notfound | ||
- source: local | ||
location: "http://localhost:<port>/symbols/source-links.pdb/0C380A12822140698565BEE6B3AC196Effffffff/source-links.pdb" | ||
download: | ||
status: ok | ||
features: | ||
has_debug_info: true | ||
has_unwind_info: false | ||
has_symbols: false | ||
has_sources: true | ||
debug: | ||
status: ok | ||
- source: local | ||
location: "http://localhost:<port>/symbols/source-links.pdb/0C380A12822140698565BEE6B3AC196Effffffff/source-links.src.zip" | ||
download: | ||
status: notfound | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+10.9 KB
...xtures/symbols/source-links.pdb/0C380A12822140698565BEE6B3AC196Effffffff/source-links.pdb
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Source link test PDBs | ||
|
||
There are two variants of a PDB here, testing two different scenarios. | ||
|
||
* `37E9E8A61A8E404EB93C6902E277FF55` contains sources and source links | ||
* `0C380A12822140698565BEE6B3AC196E` only contains source links |