You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected results: stop at breakpoint.
Actual results: program ran to completion without stopping
How to reproduce. I got the syntax for the bpmd command from dotnet/runtime#10438.
$ mkdir NoBreak
$ cd NoBreak
$ dotnet new solution
The template "Solution File" was created successfully.
$ dotnet new Console -n Hello
The template "Console Application" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on Hello/Hello.csproj...
Determining projects to restore...
Restored /Users/mj/Documents/develop/diagnostics.issues/NoBreak/Hello/Hello.csproj (in 137 ms).
Restore succeeded.
$ dotnet sln NoBreak.sln add Hello/Hello.csproj
Project Hello/Hello.csproj added to the solution.
$ dotnet build
Microsoft (R) Build Engine version 16.7.0-preview-20360-03+188921e2f for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
Hello -> /Users/mj/Documents/develop/diagnostics.issues/NoBreak/Hello/bin/Debug/net5.0/Hello.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.93
$ lldb dotnet
Added Microsoft public symbol server
(lldb) target create "dotnet"
Current executable set to 'dotnet' (x86_64).
(lldb) process launch -s -- run -p Hello
Process 47821 stopped
thread WIP: repo consolidation scouting kick-off - make clr build locally on Windows runtime#1, stop reason = signal SIGSTOP
frame #0: 0x0000000100017000 dyld_dyld_start dyld_dyld_start:
-> 0x100017000 <+0>: popq %rdi
0x100017001 <+1>: pushq $0x0
0x100017003 <+3>: movq %rsp, %rbp
0x100017006 <+6>: andq $-0x10, %rsp
Target 0: (dotnet) stopped.
Process 47821 launched: '/Users/mj/Documents/develop/runtime/.dotnet/dotnet' (x86_64)
(lldb) bpmd Hello.dll Hello.Program.Main
(lldb) continue
Process 47821 resuming
1 location added to breakpoint 1
Hello World!
Process 47821 exited with status = 0 (0x00000000)
(lldb) quit
Here is my dotnet --info output:
.NET SDK (reflecting any global.json):
Version: 5.0.100-preview.8.20362.3
Commit: a5c8f426c2
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.15
OS Platform: Darwin
RID: osx.10.15-x64
Base Path: /Users/mj/Documents/develop/runtime/.dotnet/sdk/5.0.100-preview.8.20362.3/
Host (useful for support):
Version: 5.0.0-preview.8.20361.2
Commit: f37dd6fc85
Expected results: stop at breakpoint.
Actual results: program ran to completion without stopping
How to reproduce. I got the syntax for the bpmd command from dotnet/runtime#10438.
Here is my dotnet --info output: