Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding changes to support use monovsdbg to debug wasm apps.#7220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
thaystg wants to merge19 commits intodotnet:main
base:main
Choose a base branch
Loading
fromthaystg:dev/thays/support_wasm_monovsdbg

Conversation

thaystg
Copy link
Member

@thaystgthaystg commentedJun 10, 2024
edited
Loading

Adding changes to support debug wasm apps using monovsdbg.

image

Tested scenarios with the new setting enabled and this PR:

  • With Assets and C# DevKit Not Installed targetting .NET 8 (Blazor Wasm) -DISABLED

  • With Assets and C# DevKit Not Installed targetting .NET 8 (Blazor Server Wasm) -DISABLED

  • With Assets and C# DevKit Not Installed targetting .NET 9 (Blazor Wasm) -ENABLED

  • With Assets and C# DevKit Not Installed targetting .NET 9 (Blazor Server Wasm) -ENABLED

  • With Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) -DISABLED

  • With Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) -DISABLED

  • With Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) -ENABLED

  • With Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) -ENABLED

  • Without Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) -DISABLED

  • Without Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) -DISABLED

  • Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) -ENABLED

  • Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) -ENABLED

Tested scenarios only updating C# DevKit with the monovsdbg support:

  • Without Assets and C# DevKit Installed with C# extension without this PR targetting .NET 8 (Blazor Wasm) -DISABLED
  • Without Assets and C# DevKit Installed with C# extension without this PR targetting .NET 8 (Blazor Server Wasm) -DISABLED
  • Without Assets and C# DevKit Installed with C# extension without this PR targetting .NET 9 (Blazor Wasm) -DISABLED
  • Without Assets and C# DevKit Installed with C# extension without this PR targetting .NET 9 (Blazor Server Wasm) -DISABLED

Tested scenarios with this PR and C# DevKit without the monovsdbg support:

  • With Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) -DISABLED

  • With Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) -DISABLED

  • With Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) -ENABLED

  • With Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) -ENABLED

  • Without Assets and C# DevKit Installed targetting .NET 8 (Blazor Wasm) -DISABLED

  • Without Assets and C# DevKit Installed targetting .NET 8 (Blazor Server Wasm) -DISABLED

  • Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Wasm) -DISABLED

  • Without Assets and C# DevKit Installed targetting .NET 9 (Blazor Server Wasm) -DISABLED

@@ -43,6 +43,14 @@ export function isWebProject(projectPath: string): boolean {
return projectFileText.toLowerCase().indexOf('sdk="microsoft.net.sdk.web"') >= 0;
}

export function isWebAssemblyProject(projectPath: string): boolean {
const projectFileText = fs.readFileSync(projectPath, 'utf8');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

const projectFileText = fs.readFileSync(projectPath, 'utf8');

Instead of reading the file a second time, I would suggest changingisWebProject togetProjectFlags and returning both.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

done

@thaystgthaystg marked this pull request as ready for reviewJune 22, 2024 00:38
@thaystgthaystg requested review froma team ascode ownersJune 22, 2024 00:38
@thaystg
Copy link
MemberAuthor

@gregg-miskelly can you please review again?
I think I addressed all your comments.

@thaystg
Copy link
MemberAuthor

thaystg commentedJul 8, 2024
edited
Loading

@gregg-miskelly I think I'm done again. If you can review it will be great.

Copy link
Contributor

@gregg-miskellygregg-miskelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Otherwise LGTM

@WardenGnaw
Copy link
Contributor

Did you want to update a case for the updatePackageDependencies script?

@thaystg
Copy link
MemberAuthor

Did you want to update a case for the updatePackageDependencies script?

I'm using npm run updatePackageDependencies to update the webassembly package but I didn't need to change this file.

@JoeRobich
Copy link
Member

@thaystg Is this still a change we want to consider?

@thaystg
Copy link
MemberAuthor

Correct, we will work on it yet, but I will mark it as a draft for now.

JoeRobich reacted with thumbs up emoji

@thaystgthaystg marked this pull request as draftFebruary 7, 2025 13:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gregg-miskellygregg-miskellygregg-miskelly approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@thaystg@WardenGnaw@JoeRobich@gregg-miskelly

[8]ページ先頭

©2009-2025 Movatter.jp