Document how we run multithreaded debugger tests. (#86325)
authorIlona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>
Tue, 16 May 2023 14:11:10 +0000 (16:11 +0200)
committerGitHub <noreply@github.com>
Tue, 16 May 2023 14:11:10 +0000 (16:11 +0200)
src/mono/wasm/threads.md

index f47a54d6a809e2ffdf7a8d850f2fcd552f0f6194..71801749b0d8a9f11d1eaf88e5bc279b7618b331 100644 (file)
@@ -84,3 +84,10 @@ The runtime has a number of tasks that are scheduled with `mono_threads_schedule
 
 The background tasks will run on the main thread.  Calling `mono_threads_schedule_background_job` on
 a worker thread will use `async_run_in_main_thread` to queue up work for the main thread.
+
+## Debugger tests ##
+
+Debugger supports multithreading when the runtime is built with `WasmEnableThreads=true`. To run the debugger tests in multithreading mode we use:
+```
+dotnet test src/mono/wasm/debugger/DebuggerTestSuite -e RuntimeConfiguration=Debug -e Configuration=Debug -e DebuggerHost=chrome -e WasmEnableThreads=true -e WASM_TESTS_USING_VARIANT=multithreaded
+```
\ No newline at end of file