Skip to content

Fix HashMap not displaying correctly in VS debugger - #93626

Merged
bors merged 1 commit into
rust-lang:masterfrom
wesleywiser:fix_hashmap_natvis
Feb 8, 2022
Merged

Fix HashMap not displaying correctly in VS debugger#93626
bors merged 1 commit into
rust-lang:masterfrom
wesleywiser:fix_hashmap_natvis

Conversation

@wesleywiser

Copy link
Copy Markdown
Member

The natvis to render HashMaps was not working correctly in Visual Studio
because the type names for tuples changed from tuple$<A, B> to
tuple$<A,B> (notice the missing space). WinDbg and cdb continued to
parse this type name which is why no tests in CI broke. VS however is
slightly more strict and this caused the visualizer to break.

Since we cannot test the VS debugger in CI, I'm not checking in any
test changes.

Fixes #92286

r? @michaelwoerister

The natvis to render HashMaps was not working correctly in Visual Studio
because the type names for tuples changed from `tuple$<A, B>` to
`tuple$<A,B>` (notice the missing space). WinDbg and cdb continued to
parse this type name which is why no tests in CI broke. VS however is
slightly more strict and this caused the visualizer to break.

Since we cannot test the VS debugger in CI, I'm not checking in any
test changes.
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 3, 2022
@wesleywiser wesleywiser added A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) O-windows-msvc Toolchain: MSVC, Operating system: Windows labels Feb 3, 2022
@michaelwoerister

Copy link
Copy Markdown
Member

WinDbg and cdb continued to parse this type name which is why no tests in CI broke. VS however is slightly more strict and this caused the visualizer to break.

Yuck! 😄

Thanks for the PR, @wesleywiser!

@bors r+ rollup=never (excluding from rollups because debuginfo test)

@bors

bors commented Feb 4, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit fa99aaa has been approved by michaelwoerister

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 4, 2022
@bors

bors commented Feb 6, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit fa99aaa with merge ff3d374e48bbe8270a77959efed26c50c332a808...

@bors

bors commented Feb 6, 2022

Copy link
Copy Markdown
Collaborator

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 6, 2022
@matthiaskrgr

Copy link
Copy Markdown
Member

@bors retry probably #93329 again (msvc-1 hang, logs not visible yet)

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 6, 2022
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@bors

bors commented Feb 7, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit fa99aaa with merge c508b9ada4a130b90672443889efa1729b0b3858...

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job mingw-check failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@bors

bors commented Feb 7, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 7, 2022
@wesleywiser

Copy link
Copy Markdown
Member Author
error: failed to download from `[https://crates.io/api/v1/crates/pretty_assertions/0.6.1/download`](https://crates.io/api/v1/crates/pretty_assertions/0.6.1/download%60)

Caused by:
  [28] Timeout was reached (failed to download any data for `pretty_assertions v0.6.1` within 30s)

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 7, 2022
@bors

bors commented Feb 7, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit fa99aaa with merge 57c857a05be590bdd03c43d1d799b923892937b0...

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
.......... (50/59)
........  (59/59)


/checkout/src/test/rustdoc-gui/search-result-display.goml search-result-display... FAILED
[ERROR] (line 6) TimeoutError: waiting for selector "#titles" failed: timeout 30000ms exceeded: for command `wait-for: "#titles"`
Build completed unsuccessfully in 0:00:44

@bors

bors commented Feb 7, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 7, 2022
@wesleywiser

Copy link
Copy Markdown
Member Author

@bors retry

Rustdoc gui test failure

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 7, 2022
@bors

bors commented Feb 8, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit fa99aaa with merge ca6439d520e13b93559960f5762a172a2a338784...

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job i686-gnu failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@bors

bors commented Feb 8, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 8, 2022
@ehuss

ehuss commented Feb 8, 2022

Copy link
Copy Markdown
Contributor

@bors retry

---- [ui] ui/threads-sendsync/tcp-stress.rs stdout ----

error: test run failed!
status: exit status: 1
command: "/checkout/obj/build/i686-unknown-linux-gnu/test/ui/threads-sendsync/tcp-stress/a"

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 8, 2022
@bors

bors commented Feb 8, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit fa99aaa with merge 775e480...

@bors

bors commented Feb 8, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: michaelwoerister
Pushing 775e480 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Feb 8, 2022
@bors
bors merged commit 775e480 into rust-lang:master Feb 8, 2022
@rustbot rustbot added this to the 1.60.0 milestone Feb 8, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (775e480): comparison url.

Summary: This benchmark run did not return any relevant results.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) merged-by-bors This PR was explicitly merged by bors. O-windows-msvc Toolchain: MSVC, Operating system: Windows S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HashMap not rendered properly when using MSVC debugger

9 participants