-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm] [debugger] First version of multithreaded debugging #74820
Merged
thaystg
merged 54 commits into
dotnet:main
from
thaystg:thays_support_multithreaded_debugging
Feb 1, 2023
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
67331e6
First version of multithreaded debugging.
thaystg 38aa291
Merge branch 'main' into thays_support_multithreaded_debugging
thaystg d84c33b
Revert package-lock.json
thaystg 6c1925a
New line at package-lock.json
thaystg fb7f67e
Fix not used variable.
thaystg 215bca6
Fix debugger on firefox.
thaystg 015ff8d
Merge branch 'thays_support_multithreaded_debugging' of github.com:th…
thaystg b028deb
Rewrite code to avoid duplicated code.
thaystg 037c9f2
Fix where mono_init_debugger_agent_common is called.
thaystg df269dd
Remove whitespace.
thaystg bcf9257
Merge branch 'main' into thays_support_multithreaded_debugging
thaystg d11eaf8
Update src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs
thaystg ac4fdec
Update src/mono/wasm/debugger/BrowserDebugProxy/DevToolsHelper.cs
thaystg 3fdcc8d
Update src/mono/wasm/debugger/BrowserDebugProxy/DevToolsHelper.cs
thaystg a9bd192
[wasm] Debugger tests: support running with multithreaded runtime
radical ec9b436
Add runtime-wasm-dbgtests pipeline with debugger tests running on a m…
radical c5808dd
Add multi-threaded debugger tests to runtime-wasm
radical ba0c29c
fix yml
radical 0865ed8
Always run the new tests when the pipeline is invoked manually
radical ab9b21f
Pass through extra build args for wasm debugger tests
radical 7557dac
Addressing @radical comments.
thaystg 1b6c880
Apply suggestions from code review
thaystg 1aee947
addressing radical comments
thaystg 40e0adb
Merge branch 'dotnet:main' into thays_support_multithreaded_debugging
thaystg 884bd16
Fixing tests failures and adding a schema to run a test that will onl…
thaystg 18cb993
Adding support for run debugger-tests in a multithreaded runtime.
thaystg 40afb37
Fix running debugger tests for multithreaded runtime, passing session…
thaystg be15c98
Fix CI.
thaystg 369f925
Addressing @radical comments
thaystg 06bae94
Update src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs
thaystg ff6bba0
Update src/mono/wasm/debugger/DebuggerTestSuite/MiscTests.cs
thaystg ab98d6a
Update src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs
thaystg e46bf4d
Dictionary with the scriptId also uses sessionId.
thaystg b194f06
Addressing @radical review.
thaystg 1d6e5f8
Apply suggestions from code review
thaystg f87289b
Avoiding getting this error: Cannot transition thread 0x2a15360 from …
thaystg 5db7881
Addressing @radical comments.
thaystg 76c1731
Using more threads in unit test.
thaystg 7af4999
Apply suggestions from code review
thaystg a9d7468
Addressing @radical comments, and trying to fix ci.
thaystg 3a5b1ea
Merge remote-tracking branch 'origin/main' into thays_support_multith…
thaystg 391b94c
Removing unnecessary changes.
thaystg 1e7f725
Export function used on mini-wasm-debugger.
thaystg e7779e8
Fixing line number.
thaystg 1a33ae7
Merge branch 'dotnet:main' into thays_support_multithreaded_debugging
thaystg 4e52809
Fix run tests on release.
thaystg a28845a
fix compilation for multithread runtime
thaystg 0034d64
trying to fix multithread debugger tests on ci
thaystg 2635990
trying to fix debugger tests on ci
thaystg e22929e
Merge branch 'dotnet:main' into thays_support_multithreaded_debugging
thaystg 33b6485
disabling tests on multithreaded runtime
thaystg 4cd3536
Update eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml
thaystg 771d55b
Merge branch 'dotnet:main' into thays_support_multithreaded_debugging
thaystg c78ec41
Throwing an exception if the "what" is not the one that is being get …
thaystg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
trigger: none | ||
|
||
variables: | ||
- template: /eng/pipelines/common/variables.yml | ||
|
||
jobs: | ||
|
||
# | ||
# Evaluate paths | ||
# | ||
- template: /eng/pipelines/common/evaluate-default-paths.yml | ||
|
||
# Debugger tests | ||
- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml | ||
parameters: | ||
platforms: | ||
- Browser_wasm | ||
- Browser_wasm_win | ||
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} | ||
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} | ||
|
||
- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml | ||
parameters: | ||
platforms: | ||
- Browser_wasm | ||
- Browser_wasm_win | ||
extraBuildArgs: /p:MonoWasmBuildVariant=multithread /p:WasmEnableThreads=true | ||
nameSuffix: DebuggerTests_MultiThreaded | ||
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} | ||
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} | ||
|
||
- template: /eng/pipelines/common/templates/wasm-debugger-tests.yml | ||
parameters: | ||
platforms: | ||
- Browser_wasm_firefox | ||
browser: firefox | ||
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} | ||
isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }} | ||
alwaysRun: ${{ parameters.isWasmOnlyBuild }} | ||
# ff tests are unstable currently | ||
shouldContinueOnError: true |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine for now. But in a follow up we should change this to use these from runtime-extra-platforms-wasm.yml with a new
debuggerTestsOnly
parameter.