DavidSpickett wrote: > But currently a simple gdb-remote [<hostname>:]<portnum> does not enable the > "wasm' plugin. Is there a way to detect that we are debugging WebAssembly at > connect time?
Tracing down from `platform connect <no plugin option>`, I get to `Process::FindPlugin`, which creates a process of all the registered types then asks that process if it can debug that target. Though, a lot of them just return true and you already have: ``` bool ProcessWasm::CanDebug(lldb::TargetSP target_sp, bool plugin_specified_by_name) { ``` So I wonder if some other plugin is saying "yes I can debug this" before the wasm plugin has been asked. We must register the plugins in some order but not sure where that is done. https://github.com/llvm/llvm-project/pull/77949 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits