I fixed the issue by clicking Tools => Options, and then enabling "Enable New .NET 9+ Mono Debugger"