stride3d / stride3d/stride

GameStudioThumbnailService.cs Debugger diagnostics break

Open
#27 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area-GameStudio bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

if (thumbnailsInProgressAndContinuation.ContainsKey(asset.Id) && System.Diagnostics.Debugger.IsAttached)
{
    // Virgile: This case should not happen, but it happened to me once and could not reproduce.
    // Please let me know if it happens to you.
    // Note: this is likely not critical and should work fine even if it happens.
    System.Diagnostics.Debugger.Break();
}

Virgile: This case should not happen,...

Anything that can go wrong, will go wrong. -- Morphy Law

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate GameStudioThumbnailService.cs and inspect the thumbnailsInProgressAndContinuation check around System.Diagnostics.Debugger.Break(). Run the relevant thumbnail workflow with a debugger attached, then verify that the reported condition no longer causes an unwanted diagnostic interruption.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools, game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.