question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Minor] MessageId enum lists 'Roy' instead of 'Destroy'

See original GitHub issue

Today I had an extremely confusing experience. My name is Roy, and all of a sudden my log was filled with output like ‘DestinationRoyPixelShader …’ (I output messages from the ID3D11InfoQueue.

After a bit of a search I figured out that in the MessageId enum in the generated file Enumerations.cs values like these are generated:

/// <summary>
/// No documentation.
/// </summary>
/// <unmanaged>D3D11_MESSAGE_ID_DESTROY_CONTEXT</unmanaged>
/// <unmanaged-short>D3D11_MESSAGE_ID_DESTROY_CONTEXT</unmanaged-short>
DestinationRoyContext = unchecked((int)2097227),

Looks like something truncates ‘Destroy’ to ‘Roy’. I tried rebuilding the latest master on my PC to see if the issue was already fixed. But unfortunately NuGet was giving me some issues which I haven’t looked into yet.

This issue is of course extremely minor, but I thought I’d mention it anyway.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
roy-tcommented, Aug 30, 2021

@amerkoleci btw I’ve made the next iteration of MiniEngine (very early WIP) public now. Its all based on Vortice.Windows, so if you’re looking for inspiration on how your work is used, this could be useful. You also mentioned you liked following the previous iterations 😃: https://github.com/roy-t/MiniEngine3

0reactions
amerkolecicommented, Aug 30, 2021

Thanks, will keep and eye on it, add mention in Readme as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found