Skip to content
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

netcorebgb puts display to sleep on macOS #146

Open
geraldspreer opened this issue Nov 16, 2023 · 26 comments · May be fixed by geraldspreer/netcoredbg#1
Open

netcorebgb puts display to sleep on macOS #146

geraldspreer opened this issue Nov 16, 2023 · 26 comments · May be fixed by geraldspreer/netcoredbg#1

Comments

@geraldspreer
Copy link

This must sound strange, but when I run netcoredbg on my Mac it reliably puts the display to sleep.

❯ /usr/local/bin/netcoredbg/netcoredbg --log --interpreter=cli -- dotnet ./bin/Debug/net7.0/Hello.dll

The file program.cs contains just: Console.WriteLine("Hello, World!"); and in fact it does not matter what the code I am debugging is, I can reproduce this any time. As far as I can tell, when the debugger exits, the display goes to sleep.

Steps to reproduce:

  1. Create a project by running dotnet new console hello
  2. cd hello
  3. dotnet run - so that we have a debug build
  4. $ /usr/local/bin/netcoredbg/netcoredbg --log --run --interpreter=cli -- dotnet ./bin/Debug/net7.0/Hello.dll
  5. in my case the display sleeps

When I am setting breakpoints, I can step or next without any problems but, finish or continue will cause the display to sleep. When I run with --interpreter=vscode and the sleeping occurs, when I wake the display I still need to hit a key to exit the debugger, so I guess while the debugger waits for some input, the problem occurs.

I would appreciate your help. But maybe I am just making a mistake here.

❯ /usr/local/bin/netcoredbg/netcoredbg --version

NET Core debugger 3.0.0-7 (aafa6f3, Release)

Copyright (c) 2020 Samsung Electronics Co., LTD
Distributed under the MIT License.
See the LICENSE file in the project root for more information.

My system is:

  Model Name:	iMac
  Model Identifier:	iMac15,1
  Processor Name:	Quad-Core Intel Core i5
  Processor Speed:	3.5 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	6 MB
  Memory:	32 GB
  System Firmware Version:	478.0.0.0.0

running macOS Big Sur 11.7.6

@gbalykov
Copy link
Member

Did you build netcoredbg yourself or used provided binary?

@geraldspreer
Copy link
Author

@gbalykov Thank you so much for looking into this. I actually tried it both ways. And no matter if I use the download version from github or compile it myself, the result is the same.

@gbalykov
Copy link
Member

Did you check any system logs? There might be some info there. Also maybe the whole system goes to suspend, not just the screen.

@geraldspreer
Copy link
Author

The system.log itself does not have any information about what happens. But when I run pmset -g log This is the last record. The timestamps match to last time when the display went to sleep due to netcoredbg

Time stamp                Domain              	Message                                                                    	Duration  	Delay     
==========                ======              	=======                                                                    	========  	=====     
UUID: 65320804-43BA-48BE-9A02-4186746BCBDB
2023-11-16 15:48:04 +0100 Notification        	Display is turned off                                                 	          
2023-11-16 15:48:04 +0100 Assertions          	PID 95(powerd) Summary ExternalMedia "com.apple.powermanagement.externalmediamounted" 10:30:47  id:0x0x800008000 [System: DeclUser NetAcc kCPU kDisp]          
2023-11-16 15:48:04 +0100 Assertions          	PID 159(WindowServer) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:10000053e name:AppleUserHIDEventSe product:ErgoDox EZ eventType:3" 00:00:00  id:0x0x900009513 [System: DeclUser NetAcc kCPU kDisp]          
2023-11-16 15:48:04 +0100 Assertions          	PID 95(powerd) Summary NetworkClientActive "com.apple.powermanagement.ttyassertion" 00:03:08  id:0x0x110000959b [System: DeclUser NetAcc kCPU kDisp]          
2023-11-16 15:48:04 +0100 Assertions          	Kernel Idle sleep preventers: -None-          
2023-11-16 15:48:04 +0100 Assertions          	[System: DeclUser NetAcc kCPU kDisp]          
2023-11-16 15:48:04 +0100 Sleep               	Entering DarkWake state due to 'Software Sleep pid=64781': Using AC (Charge:0%) 7 secs    
2023-11-16 15:48:04 +0100 Assertions          	PID 95(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000095e3 [System: DeclUser SRPrevSleep NetAcc kCPU kDisp]          
2023-11-16 15:48:05 +0100 Assertions          	PID 159(WindowServer) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:10000053e name:AppleUserHIDEventSe product:ErgoDox EZ eventType:3" 00:00:00  id:0x0x900009513 [System: DeclUser SRPrevSleep NetAcc IPushSrvc kCPU kDisp]          
2023-11-16 15:48:11 +0100 Assertions          	PID 159(WindowServer) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:10000053e name:AppleUserHIDEventSe product:ErgoDox EZ eventType:3" 00:00:00  id:0x0x900009513 [System: DeclUser SRPrevSleep NetAcc kCPU kDisp]          
2023-11-16 15:48:11 +0100 Notification        	Display is turned on                                                       	          
2023-11-16 15:48:11 +0100 Assertions          	Kernel Idle sleep preventers: IODisplayWrangler          
2023-11-16 15:48:11 +0100 Wake                	DarkWake to FullWake from Invalid [CDNVA] : due to HID Activity Using AC (Charge:0%)           
2023-11-16 15:48:11 +0100 HibernateStats      	hibmode=0 standbydelaylow=86400 standbydelayhigh=86400                     	          280       	
2023-11-16 15:48:11 +0100 WakeTime            	WakeTime: 0.562 sec                                                        	          
2023-11-16 15:48:11 +0100 Kernel Client Acks  	Delays to Sleep notifications: [AMDFramebufferSI driver is slow(msg: SetState to 1)(764 ms)] [AMDFramebufferSI driver is slow(msg: SetState to 1)(874 ms)] 
2023-11-16 15:48:11 +0100 Kernel Client Acks  	Delays to Wake notifications: [AppleHDADriver driver is slow(msg: SetState to 1)(465 ms)]           
2023-11-16 15:48:19 +0100 Assertions          	PID 95(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000095e3 [System: PrevIdle DeclUser SRPrevSleep NetAcc kCPU kDisp]          

Total Sleep/Wakes since boot at 2023-11-16 05:17:16 +0100 :0

2023-11-16 15:49:35 +0100 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  1
   PreventUserIdleSystemSleep     0
   NetworkClientActive            1
Listed by owning process:
   pid 159(WindowServer): [0x0000929700099513] 00:00:03 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10000053e name:AppleUserHIDEventSe product:ErgoDox EZ eventType:3"  
	Timeout will fire in 296 secs Action=TimeoutActionRelease
   pid 95(powerd): [0x0000001000088000] 10:32:18 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"  
   pid 95(powerd): [0x0000932c0011959b] 00:04:39 NetworkClientActive named: "com.apple.powermanagement.ttyassertion"  
Kernel Assertions: 0x104=USB,MAGICWAKE
   id=502  level=255 0x4=USB creat=11/16/23, 5:20 AM description=com.apple.usb.externaldevice.14a00000 owner=4-Port USB 3.0 Hub
   id=505  level=255 0x4=USB creat=11/16/23, 5:24 AM description=com.apple.usb.externaldevice.14100000 owner=USB Receiver
   id=506  level=255 0x4=USB creat=11/16/23, 5:25 AM description=com.apple.usb.externaldevice.14400000 owner=ErgoDox EZ
   id=507  level=255 0x4=USB creat=11/16/23, 5:27 AM description=com.apple.usb.externaldevice.14300000 owner=FA GoFlex Desk
   id=508  level=255 0x4=USB creat=11/16/23, 5:29 AM description=com.apple.usb.externaldevice.14200000 owner=4-Port USB 2.0 Hub
   id=510  level=255 0x100=MAGICWAKE creat=11/16/23, 5:18 AM description=en0 owner=en0
Idle sleep preventers: IODisplayWrangler

@viewizard
Copy link
Member

Hmm...

2023-11-16 15:48:04 +0100 Sleep               	Entering DarkWake state due to 'Software Sleep pid=64781': Using AC (Charge:0%) 7 secs 

not really sure this is debugger related at all, since we don't have any sleep or status change related code.
Is 64781 pid debugger process or terminal process? You probably should figure out first, what program exactly use "Software Sleep".

I also see a lot of output in google search at "Entering DarkWake state due to Software Sleep" request, you probably could find something related.

@geraldspreer
Copy link
Author

I have been able to track down the pid that is causing the sleep. In the pmset -g log you can see that it is caused by pid 12277 and in the active processes I found:

gspreer 12277 19.5 0.0 4284064 6024 s007 R+ 8:06PM 0:00.16 /usr/local/bin/netcoredbg/netcoredbg --log --run --interpreter=vscode -- dotnet ./bin/Debug/net7.0/Hello.dll I got this by running ps aux. The pid is 12277 after my username.

That suggests that the sleep is related to netcoredbg.

Time stamp                Domain                Message                                                                         Duration        Delay
==========                ======                =======                                                                         ========        =====
UUID: 3AEE9EAD-F5C9-4370-A0CA-B79B3A221B48
2023-11-16 20:06:13 +0100 Notification          Display is turned off
2023-11-16 20:06:13 +0100 Assertions            PID 12006(AddressBookSourceSync) Summary PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:07  id:0x0x100009dd0 [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            PID 71881(screensharingd) Summary PreventSystemSleep "Remote user is connected" 03:38:22  id:0x0x700009821 [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            PID 95(powerd) Summary ExternalMedia "com.apple.powermanagement.externalmediamounted" 14:48:56  id:0x0x800008000 [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            PID 159(WindowServer) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:1000002fe name:IOHIDSystem product:NULL eventType:1" 00:00:01  id:0x0x900009ddd [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            PID 71881(screensharingd) Summary UserIsActive "Remote user active" 00:00:00  id:0x0x900009dc4 [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            PID 122(apsd) Summary ApplePushServiceTask "com.apple.apsd-lastpowerassertionlinger" 00:00:00  id:0x0xb00009de9 [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            PID 445(UserEventAgent) Summary BackgroundTask "com.apple.AddressBook.ScheduledSync" 00:00:07  id:0x0xb00009dd7 [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            PID 95(powerd) Summary NetworkClientActive "com.apple.powermanagement.ttyassertion" 04:21:17  id:0x0x110000959b [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Assertions            Kernel Idle sleep preventers: -None-
2023-11-16 20:06:13 +0100 Assertions            [System: PrevIdle PrevSleep DeclUser BGTask NetAcc kCPU kDisp]
2023-11-16 20:06:13 +0100 Sleep                 Entering DarkWake state due to 'Software Sleep pid=12277': Using AC (Charge:0%) 3 secs
2023-11-16 20:06:13 +0100 Assertions            PID 95(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd00009dea [System: PrevIdle PrevSleep DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]
2023-11-16 20:06:15 +0100 Assertions            PID 71881(screensharingd) TurnedOn UserIsActive "Remote user active" 00:00:00  id:0x0x900009dc4 [System: PrevIdle PrevSleep DeclUser BGTask SRPrevSleep NetAcc IPushSrvc kCPU kDisp]
2023-11-16 20:06:15 +0100 Notification          Display is turned on
2023-11-16 20:06:15 +0100 Assertions            Kernel Idle sleep preventers: IODisplayWrangler
2023-11-16 20:06:16 +0100 Wake                  DarkWake to FullWake from Invalid [CDNVA] : due to HID Activity Using AC (Charge:0%)         
2023-11-16 20:06:16 +0100 HibernateStats        hibmode=0 standbydelaylow=86400 standbydelayhigh=86400                                    280
2023-11-16 20:06:16 +0100 WakeTime              WakeTime: 0.459 sec
2023-11-16 20:06:16 +0100 Kernel Client Acks
2023-11-16 20:06:16 +0100 Kernel Client Acks    Delays to Wake notifications: [AppleHDADriver driver is slow(msg: SetState to 1)(457 ms)]    

Total Sleep/Wakes since boot at 2023-11-16 05:17:16 +0100 :0

2023-11-16 20:06:25 +0100 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 1
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             1
   ExternalMedia                  1
   PreventUserIdleSystemSleep     1
   NetworkClientActive            1
   InternalPreventSleep           1
Listed by owning process:
   pid 12006(AddressBookSourceSync): [0x0000d06300019dd0] 00:00:19 PreventUserIdleSystemSleep named: "Address Book Source Sync"
        Timeout will fire in 1781 secs Action=TimeoutActionTurnOff
   pid 95(powerd): [0x0000001000088000] 14:49:08 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
   pid 95(powerd): [0x0000d06b000d9dea] 00:00:11 InternalPreventSleep named: "com.apple.powermanagement.darkwakelinger"
        Assertion applied on Battery power also
        Timeout will fire in 3 secs Action=TimeoutActionRelease
   pid 95(powerd): [0x0000932c0011959b] 04:21:29 NetworkClientActive named: "com.apple.powermanagement.ttyassertion"
   pid 159(WindowServer): [0x0000d06300099ddd] 00:00:01 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:1000002fe name:IOHIDSystem product:NULL eventType:1"
        Timeout will fire in 298 secs Action=TimeoutActionRelease
   pid 71881(screensharingd): [0x00009d3b00079821] 03:38:34 PreventSystemSleep named: "Remote user is connected"
   pid 71881(screensharingd): [0x0000d06200099dc4] 00:00:01 UserIsActive named: "Remote user active"
        Timeout will fire in 298 secs Action=TimeoutActionRelease
   pid 445(UserEventAgent): [0x0000d063000b9dd7] 00:00:19 BackgroundTask named: "com.apple.AddressBook.ScheduledSync"
        Created for PID: 12006.
Kernel Assertions: 0x104=USB,MAGICWAKE
   id=502  level=255 0x4=USB creat=11/16/23, 5:20 AM description=com.apple.usb.externaldevice.14a00000 owner=4-Port USB 3.0 Hub
   id=505  level=255 0x4=USB creat=11/16/23, 5:24 AM description=com.apple.usb.externaldevice.14100000 owner=USB Receiver
   id=507  level=255 0x4=USB creat=11/16/23, 5:27 AM description=com.apple.usb.externaldevice.14300000 owner=FA GoFlex Desk
   id=508  level=255 0x4=USB creat=11/16/23, 5:29 AM description=com.apple.usb.externaldevice.14200000 owner=4-Port USB 2.0 Hub
   id=510  level=255 0x100=MAGICWAKE creat=11/16/23, 5:18 AM description=en0 owner=en0
   id=515  level=255 0x4=USB creat=11/16/23, 4:10 PM description=com.apple.usb.externaldevice.14400000 owner=ErgoDox EZ
Idle sleep preventers: IODisplayWrangler

@gbalykov
Copy link
Member

You can also try with same version of netcoredbg and different .net versions (.net8, .net6, .net core 3.1, etc) to gather more data. And also with different versions of netcoredbg with some fixed .net version. Netcoredbg doesn't have any sleep related logic, maybe there's smth in runtime, but that would also be strange.

@geraldspreer
Copy link
Author

@gbalykov I have tried different versions of netcoredgb and started with 1.2.0-672. The problem is not present in this version. I can use this version without any problems. The system does not go to sleep.

I will investigate further and I will let you know which version introduces the problem.

@geraldspreer
Copy link
Author

The problem starts with the version from February 17, 2022

NET Core debugger 2.0.0-58 (a8bd3b9, Release)

Copyright (c) 2020 Samsung Electronics Co., LTD
Distributed under the MIT License.
See the LICENSE file in the project root for more information.

I have also tried 1.2.0-786 which introduces the --run flag, and it works without any problems.

Between April 16, 2021 and February 17, 2022 there are no releases with Mac binaries.

@gbalykov
Copy link
Member

Can you try with latest netcoredbg, but with different .net versions?

@geraldspreer
Copy link
Author

@gbalykov Sorry, it took me a while to find time to try this.

I have tried the latest version of netcoredbg with .NET 6, 7 and 8. There is not difference, the computer is put to sleep like I have described.

@gbalykov
Copy link
Member

gbalykov commented Dec 4, 2023

@geraldspreer Can you also try to find commit, which introduced this problem? There're 109 commits between 1.2.0-786 and 2.0.0-58, all of them support .net 6 build, and it will take around 5 builds with bisect. It will help a lot to find the root cause of this issue.

@geraldspreer
Copy link
Author

Unfortunately I cannot compile the code without errors.

When I run make on commit https://github.com/Samsung/netcoredbg/commit/094860c984d96b4c45e11b70332c9f497277f0b5 I get the following error:

[ 50%] Building CXX object src/CMakeFiles/netcoredbg.dir/debugger/variables.cpp.o
[ 51%] Building CXX object src/CMakeFiles/netcoredbg.dir/debugger/waitpid.cpp.o
/Users/gspreer/Hello/netcoredbg/src/debugger/waitpid.cpp:71:18: error: exception specification in declaration does not match previous declaration
extern "C" pid_t waitpid(pid_t pid, int *status, int options) noexcept
                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/sys/wait.h:249:9: note: previous declaration is here
pid_t   waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid);
        ^
1 error generated.
make[2]: *** [src/CMakeFiles/netcoredbg.dir/debugger/waitpid.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/netcoredbg.dir/all] Error 2
make: *** [all] Error 2

@gbalykov
Copy link
Member

gbalykov commented Dec 5, 2023

@geraldspreer please follow next instruction

  1. clone 6.0 runtime
cd /tmp
git clone https://github.com/dotnet/runtime
cd runtime
git checkout release/6.0
  1. in netcoredbg dir cherry-pick mac build fix and usage of 6.0 runtime
git cherry-pick 7ee73042f052261c0433c00d852f5ba0ea2fea12
# next one is not needed after Dec 16 2021
git cherry-pick 32698c72fe5d26ba70b714dc7d0e6e42b4662fe8
  1. build netcoredbg
mkdir build
cd build
cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCORECLR_DIR=/tmp/runtime/src/coreclr -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release
make 
make install

now you can find netcordbg in install dir

@geraldspreer
Copy link
Author

geraldspreer commented Dec 6, 2023

@gbalykov Even when following your instruction to the letter, I still get the same error message on commit https://github.com/Samsung/netcoredbg/commit/094860c984d96b4c45e11b70332c9f497277f0b5

/Users/gspreer/Hello/netcoredbg/src/debugger/waitpid.cpp:71:18: error: exception specification in declaration does not match previous declaration
extern "C" pid_t waitpid(pid_t pid, int *status, int options) noexcept
                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/sys/wait.h:249:9: note: previous declaration is here
pid_t   waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid);
        ^
1 error generated.
make[2]: *** [src/CMakeFiles/netcoredbg.dir/debugger/waitpid.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/netcoredbg.dir/all] Error 2
make: *** [all] Error 2

This issue is probably the same as described here: #70 at least it's also related to waitpid

To verify the steps that I am taking - this is my compile script:

#!/bin/sh

echo "Compiling netcoredbg... commit: $1"

rm -fr ./netcoredbg || echo "no local source..."
git clone https://github.com/Samsung/netcoredbg.git

cd netcoredbg &&
  mkdir build &&
  cd build &&
  pwd &&
  git checkout $1 &&
  git cherry-pick 7ee73042f052261c0433c00d852f5ba0ea2fea12 &&
  cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCORECLR_DIR=/tmp/runtime/src/coreclr -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release &&
  make &&
  make install

@viewizard
Copy link
Member

/Users/gspreer/Hello/netcoredbg/src/debugger/waitpid.cpp:71:18: error: exception specification in declaration does not match previous declaration
extern "C" pid_t waitpid(pid_t pid, int *status, int options) noexcept

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/sys/wait.h:249:9: note: previous declaration is here
pid_t   waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid);

You should fix this by remove noexcept keyword.

@geraldspreer
Copy link
Author

Thank you @viewizard, I will now try to find the commit that introduces the issue.

geraldspreer added a commit to geraldspreer/netcoredbg that referenced this issue Dec 7, 2023
@geraldspreer
Copy link
Author

After bisecting thru working and non-working commits, I have found that the issue is actually introduced by the second cherry-pick. Namely 32698c7
It is caused by this diff:
3 + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -force_flat_namespace -std=c++14") in compileoptions.cmake

When I change the code to: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14"), omitting the -force_flat_namespace, I can compile the latest HEAD on my system and it runs without any problems. That is without putting my machine to sleep.

I have no idea on how setting this -force_flat_namespace flag causes the issue described in this thread, but removing the flag definitely fixes it. Maybe this is a bit premature - I am not sure if you want to investigate this further - but I have made a pull request for this fix. geraldspreer#1

Also when I leave the --force_flat_namespace argument in the code, I get the compiler warnings for what looks like every time something is built. Like:

...
[ 95%] Building CXX object src/CMakeFiles/netcoredbg.dir/utils/platform_win32.cpp.o
clang: warning: argument unused during compilation: '-force_flat_namespace' [-Wunused-command-line-argument]
[ 96%] Building CXX object src/CMakeFiles/netcoredbg.dir/utils/streams.cpp.o
...

@gbalykov
Copy link
Member

gbalykov commented Dec 8, 2023

@geraldspreer thank you for analysis! It seems strange though that force_flat_namespace affects sleeping, and the only thing I can think of is that some dependency library is overridden during load with some other one and wrong code is executed. Can you share the list of dynamically loaded libraries of debugger process before/after sleep with/without force_flat_namespace? It seems that export DYLD_PRINT_LIBRARIES=1 should do the job before launch of debugger.

@geraldspreer
Copy link
Author

@gbalykov I hope this helps...

dyld: loaded: <A66C4534-DD7B-35DB-B70E-9ADE9D7FFFDE> /usr/local/bin/direnv
dyld: loaded: <3DA2BD50-8006-3114-B91E-76711FEA0C4C> /usr/lib/libSystem.B.dylib
dyld: loaded: <97EEFB1C-18F5-39C0-B267-C67020BC9810> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
dyld: loaded: <A0842A5B-1E91-35BA-B35A-804B3A5ED46E> /System/Library/Frameworks/Security.framework/Versions/A/Security
dyld: loaded: <56DCEFF5-111E-32FD-B4E9-E148507C4FEC> /usr/lib/system/libcache.dylib
dyld: loaded: <B057F752-3057-394D-A3F6-AA11A04A6392> /usr/lib/system/libcommonCrypto.dylib
dyld: loaded: <BA910DC2-C697-3DAD-9A70-7C8CD5217AC3> /usr/lib/system/libcompiler_rt.dylib
dyld: loaded: <BD7EAE7B-28C1-36DF-96B8-F506D50DFF28> /usr/lib/system/libcopyfile.dylib
dyld: loaded: <BDD3FF5E-34F8-3AC0-A05C-F9AC17C88BBF> /usr/lib/system/libcorecrypto.dylib
dyld: loaded: <5D824C33-C5E2-38A8-BD00-D934443DBDAB> /usr/lib/system/libdispatch.dylib
dyld: loaded: <FD8DB5BC-F199-3524-9DC4-DAEC0E94712F> /usr/lib/system/libdyld.dylib
dyld: loaded: <9FBE08F6-0679-3976-AFDC-1EAF40C3958F> /usr/lib/system/libkeymgr.dylib
dyld: loaded: <20368763-EA5B-345A-A5AE-0AD19CF98CE3> /usr/lib/system/liblaunch.dylib
dyld: loaded: <F7BDAFE5-4E49-39DD-8F94-CD5E49C91A90> /usr/lib/system/libmacho.dylib
dyld: loaded: <21C63859-6DFB-3463-9ADF-BB44FB28067C> /usr/lib/system/libquarantine.dylib
dyld: loaded: <5AC9F8EC-F0E8-3D8A-ADB5-96B5FB581896> /usr/lib/system/libremovefile.dylib
dyld: loaded: <88F4051D-1CF5-314E-A952-247C38996E16> /usr/lib/system/libsystem_asl.dylib
dyld: loaded: <F5B25F38-FC21-3BF5-A147-3B913DA098BE> /usr/lib/system/libsystem_blocks.dylib
dyld: loaded: <BC8BCEEA-CA52-32C7-9FF5-E444CF9EF66A> /usr/lib/system/libsystem_c.dylib
dyld: loaded: <21F2EF42-56ED-3E0F-9C29-94E0888DC52C> /usr/lib/system/libsystem_collections.dylib
dyld: loaded: <53B71513-3009-3A8C-A5AA-9C15DD0AB54E> /usr/lib/system/libsystem_configuration.dylib
dyld: loaded: <45445167-AFC7-3406-A858-9AE8D8F45907> /usr/lib/system/libsystem_containermanager.dylib
dyld: loaded: <6D84FA08-CB2B-34E1-9AB4-A54E82CB9161> /usr/lib/system/libsystem_coreservices.dylib
dyld: loaded: <75592BEC-777B-381F-8C07-15B8A4C712A7> /usr/lib/system/libsystem_darwin.dylib
dyld: loaded: <8C4D6C93-285F-3587-A986-5BB96A1C664F> /usr/lib/system/libsystem_dnssd.dylib
dyld: loaded: <2BAC8770-AFC8-3FE2-B6C6-27CE44B2B2BA> /usr/lib/system/libsystem_featureflags.dylib
dyld: loaded: <406353B2-E48A-3D20-B08F-0AB26ED8A0B3> /usr/lib/system/libsystem_info.dylib
dyld: loaded: <1836B380-C579-3195-BC3F-77404D432186> /usr/lib/system/libsystem_m.dylib
dyld: loaded: <3AB4C7E9-C49C-3EB7-9370-370F3F655024> /usr/lib/system/libsystem_malloc.dylib
dyld: loaded: <958BAB0A-9A29-3C72-BF71-3684D5448237> /usr/lib/system/libsystem_networkextension.dylib
dyld: loaded: <02E22D9D-01E2-361C-BB9A-B5BE18D28280> /usr/lib/system/libsystem_notify.dylib
dyld: loaded: <BB06C92C-6BD7-310C-A176-DC0DCE8D9F2B> /usr/lib/system/libsystem_product_info_filter.dylib
dyld: loaded: <14A6E673-3B14-3162-9FC0-5E3259D0959E> /usr/lib/system/libsystem_sandbox.dylib
dyld: loaded: <E976428F-F9E2-334B-AA91-9AAD40234718> /usr/lib/system/libsystem_secinit.dylib
dyld: loaded: <9A2DEBED-4086-38CF-806C-DAFA8BDCC717> /usr/lib/system/libsystem_kernel.dylib
dyld: loaded: <52A77346-8AA5-3BB7-906D-C7503B491CF9> /usr/lib/system/libsystem_platform.dylib
dyld: loaded: <3E1E0D64-BA91-399C-92C0-485ECD190DF4> /usr/lib/system/libsystem_pthread.dylib
dyld: loaded: <E9CB193F-260B-3835-B76E-A2209343FA1E> /usr/lib/system/libsystem_symptoms.dylib
dyld: loaded: <1F20357C-395F-3095-B525-AD9403290A92> /usr/lib/system/libsystem_trace.dylib
dyld: loaded: <9D6A6228-8DC3-3521-B458-4EDE4A9F5E65> /usr/lib/system/libunwind.dylib
dyld: loaded: <AB7BBDA1-3AC6-3832-8AB1-F3BFB7A0E5EC> /usr/lib/system/libxpc.dylib
dyld: loaded: <B96FC1DD-0056-3E11-862A-C0BB8239FEA0> /usr/lib/libc++abi.dylib
dyld: loaded: <A0961DED-3477-3856-A6BC-CFE2475CB2F4> /usr/lib/libobjc.A.dylib
dyld: loaded: <AC9E8A76-FCAA-3F97-802A-D22EF770463B> /usr/lib/liboah.dylib
dyld: loaded: <5BA6B5ED-7842-3B13-86B0-00EB511CE2FE> /usr/lib/libc++.1.dylib
dyld: loaded: <6002BC93-3627-366E-8D21-A552D56CB215> /usr/lib/libfakelink.dylib
dyld: loaded: <9F2A881A-25DA-3386-9DCE-D2B67C2A4141> /usr/lib/libicucore.A.dylib
dyld: loaded: <3D0CEDFD-B263-39CA-8B31-E0A498D05EB3> /System/Library/PrivateFrameworks/SoftLinking.framework/Versions/A/SoftLinking
dyld: loaded: <8D80AC9E-D438-31B3-B1DC-912376E97357> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
dyld: loaded: <D95EDD2B-F269-35E2-A39E-6FF6318BD1C1> /usr/lib/libMobileGestalt.dylib
dyld: loaded: <1C5279EE-8F78-386E-9E4D-24A3785CACA2> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
dyld: loaded: <8CE0D64A-597F-3048-80C3-590D866D067A> /usr/lib/libDiagnosticMessagesClient.dylib
dyld: loaded: <0CF67F8A-268D-320A-A3A4-D7C2D9AB8027> /usr/lib/libbsm.0.dylib
dyld: loaded: <FC8265A0-9659-35D9-BA6F-6507A44742FE> /usr/lib/libcoretls.dylib
dyld: loaded: <6760D250-2628-3DA2-A8A4-6F438E09527A> /usr/lib/libcoretls_cfhelpers.dylib
dyld: loaded: <C851B25F-835B-3543-A93F-4EAA521DDC34> /usr/lib/libpam.2.dylib
dyld: loaded: <8F485B58-8440-310F-9F08-60AACABBBDC1> /usr/lib/libsqlite3.dylib
dyld: loaded: <9E460111-1BBC-31FE-8CAF-FA8AEC22C1E9> /usr/lib/libxar.1.dylib
dyld: loaded: <A2FF8D14-1632-3047-9829-CC90239F97FF> /usr/lib/libz.1.dylib
dyld: loaded: <A395F442-1253-3CA9-953F-7A235EEB7F67> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
dyld: loaded: <32846C89-8FED-3225-B370-34FB1DA82A85> /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout
dyld: loaded: <D59BEA1F-BD5D-383A-8977-64F5B72F16C4> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
dyld: loaded: <F36054C1-6074-3A22-82EF-6F4A2A52599C> /usr/lib/libcompression.dylib
dyld: loaded: <000C6862-3708-324C-BEEB-FBF10C2539CB> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
dyld: loaded: <21325211-A5F7-3AB9-BDFE-6B6DC06E587E> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
dyld: loaded: <45B577F5-0064-3E73-89B8-BE4A121B214F> /usr/lib/libarchive.2.dylib
dyld: loaded: <4C1B873A-D601-3FB5-8DA9-694541DDE767> /usr/lib/libxml2.2.dylib
dyld: loaded: <64AB84F2-BDFA-343B-8AA9-A956F8D094B3> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
dyld: loaded: <D6DDBEB6-7A9A-3F00-8DEF-18934CFC0A08> /usr/lib/liblangid.dylib
dyld: loaded: <2DADF4F9-0BD3-33CF-9939-979E69F2453C> /usr/lib/libCRFSuite.dylib
dyld: loaded: <2DE517EE-E318-366B-A7FA-AD5F62D007CB> /usr/lib/libnetwork.dylib
dyld: loaded: <236EE73F-6D38-38E0-9BC0-B427DEB7F9FD> /usr/lib/libpcap.A.dylib
dyld: loaded: <EABE9A6A-96DE-3A2E-B0E0-17F277A65757> /usr/lib/libdns_services.dylib
dyld: loaded: <AC9520D7-D54F-3031-9503-FEA5A5ED5E56> /usr/lib/libapple_nghttp2.dylib
dyld: loaded: <EDE247D7-22AC-3339-AC3E-04A5BD13E3F2> /usr/lib/libenergytrace.dylib
dyld: loaded: <CEEEE61B-CD30-3629-9734-557C0459B1D9> /usr/lib/system/libkxld.dylib
dyld: loaded: <455C9083-014D-3037-AC54-1395F3796734> /usr/lib/liblzma.5.dylib
dyld: loaded: <6E82D414-3810-36CF-94FF-B1BDF48DB501> /usr/lib/libbz2.1.0.dylib
dyld: loaded: <DEE0153A-BDF9-33CA-B8C7-3C39DB906B5E> /usr/lib/libiconv.2.dylib
dyld: loaded: <3A46C22D-E678-356B-9BAD-6E837704D662> /usr/lib/libcharset.1.dylib
dyld: loaded: <78184C84-4633-3867-AACD-8F0256F40D5A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
dyld: loaded: <7750D6BC-9919-3C38-9AF4-F3BE3FF43700> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
dyld: loaded: <0ABF8F88-B7D4-3787-9779-624B53D01702> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
dyld: loaded: <7F805949-C6FC-33B0-A2C3-4BFBF22847D4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
dyld: loaded: <7C264603-379D-38BF-A3EC-49C01059C5E5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
dyld: loaded: <E1BD267B-4C2E-358F-98F5-ED0440FFD789> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
dyld: loaded: <3B241B33-A83D-3F35-96A3-7DD44A9F876A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
dyld: loaded: <FB843860-C7D5-3060-B50E-303A3CBAE9A9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
dyld: loaded: <243CAB7D-EA1A-3322-9833-B4B24F63AB3E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
dyld: loaded: <002479BB-F126-3A2A-A952-C4B31CC33E1B> /usr/lib/libCheckFix.dylib
dyld: loaded: <72830517-DCB9-3962-9510-674239B3E3ED> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
dyld: loaded: <F40C2289-9A6D-3C55-A6DA-FFAD41636415> /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
dyld: loaded: <88322A2A-3DDD-35E0-A95C-54F4D5693191> /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities
dyld: loaded: <58AA4922-A668-3165-802C-5FB4DF848E40> /usr/lib/libmecabra.dylib
dyld: loaded: <6026D664-0453-321F-81FE-A40AD902849E> /System/Library/Frameworks/MLCompute.framework/Versions/A/MLCompute
dyld: loaded: <3D8DECC6-19B3-3A32-98CF-EB07536D1635> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
dyld: loaded: <47A982DF-1436-366E-AC45-1DA068832AED> /usr/lib/libmecab.dylib
dyld: loaded: <189F508A-723B-345D-918F-178CF15077F3> /usr/lib/libgermantok.dylib
dyld: loaded: <BA265C01-176E-3F7D-97F6-7FAABB0CAEC8> /usr/lib/libThaiTokenizer.dylib
dyld: loaded: <62BC78D3-1400-3366-A04E-C8BEE6AC00B5> /usr/lib/libChineseTokenizer.dylib
dyld: loaded: <3E9C32AD-7F40-359E-B430-E31C09EC1F78> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
dyld: loaded: <86743C4C-4556-3EA0-AEA5-46673C7634B3> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
dyld: loaded: <1DD123D7-ACC3-3FCB-838E-C91C6E4D31B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
dyld: loaded: <F46E0ACF-7524-3CA3-A64A-5DDF6081EB67> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
dyld: loaded: <560739C2-D16B-36CA-89F4-BD4DD2192333> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
dyld: loaded: <7F1276C0-C9F6-3C6F-A0F7-1EB4EA666BD8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
dyld: loaded: <D4B16233-BAE7-3D63-BB59-5DCEC63345EB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
dyld: loaded: <02F2D4D1-8763-32D1-B5F9-9DD439EFC8E8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
dyld: loaded: <27358E5F-256F-309F-AAC8-BAC4A56C7BF4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
dyld: loaded: <7D926256-F187-33CA-87D6-74F1660C438A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
dyld: loaded: <256CB21E-2878-3F22-B4B5-E1FB60D64C9E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
dyld: loaded: <1E45AC70-6C75-3F27-9252-40DF6B2D674A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
dyld: loaded: <0FD77742-B7DB-3296-9D0F-0DEF7EB4FF7D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
dyld: loaded: <2C3E2056-D58B-3DF9-8C18-9064BA94D8F1> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSCore.framework/Versions/A/MPSCore
dyld: loaded: <4D4B21EF-461D-3AB3-BDC2-830651204025> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSImage.framework/Versions/A/MPSImage
dyld: loaded: <A446A07F-29F9-3FC4-B00D-1C20B2E7347B> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork
dyld: loaded: <A999B1FC-0004-38D2-8A00-35AAF20E38D9> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix
dyld: loaded: <274E0939-A31C-3C15-91E4-33449F997FF6> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSRayIntersector.framework/Versions/A/MPSRayIntersector
dyld: loaded: <190153C9-F25B-3438-8A9A-501135103A54> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNDArray.framework/Versions/A/MPSNDArray
dyld: loaded: <2D065AB2-EF9F-3B36-A05F-7D94029E73EF> /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools
dyld: loaded: <327F44F6-872E-3BAC-95D6-69A6E30DDA8A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
dyld: loaded: <CD5E6E8F-7AB6-345E-9243-D5D674DC0225> /System/Library/PrivateFrameworks/AggregateDictionary.framework/Versions/A/AggregateDictionary
dyld: loaded: <BCE2F778-DE72-3519-8F36-89DB8518E241> /System/Library/PrivateFrameworks/CoreAnalytics.framework/Versions/A/CoreAnalytics
dyld: loaded: <EAFF4FEC-51F3-3D0D-9D99-E62E75937F1B> /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce
dyld: loaded: <19FBA808-F918-3BB2-BE78-A1B0D10D724D> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
dyld: loaded: <B6360761-3B05-35AE-8E0C-F819414FD093> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
dyld: loaded: <15CBB967-FAAE-3A22-A87F-4833A9D835E3> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
dyld: loaded: <28991DA2-1726-3F77-A9C5-4BB5AAEFA166> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/Versions/A/IOMobileFramebuffer
dyld: loaded: <EAAF99AF-2D5F-3EC5-B7F7-41D7236A09F3> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
dyld: loaded: <011AA15B-6988-3F36-81A3-2B52B561D6E0> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
dyld: loaded: <E6DC793D-3133-3D9B-BCF8-E4A628E45586> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
dyld: loaded: <09EC8AE4-7FC7-3D2D-A6DD-C484B664B1D5> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
dyld: loaded: <83A69507-07D1-387F-9D06-1011E7909EAC> /usr/lib/libcmph.dylib
dyld: loaded: <E4682D99-DD7C-3C74-A0A1-E561B6E616C6> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
dyld: loaded: <B7BB547E-B00F-37B3-A4A8-AF414F029E64> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
dyld: loaded: <E4B0DF0F-E1A5-3FEF-A2A6-8105AD54D95A> /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
dyld: loaded: <7F48320F-6931-3524-9AE2-E58582FA3D4D> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
dyld: loaded: <B5961283-0856-3D78-AE9C-EAFB6A903569> /usr/lib/libutil.dylib
dyld: loaded: <2AE731D8-757E-3A23-8375-9D266B762CC3> /usr/lib/libapp_launch_measurement.dylib
dyld: loaded: <229A56A4-E139-30A5-821E-F4E9BD9D5F17> /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore
dyld: loaded: <8098B1E9-642C-3833-AD15-0C67FEAF103E> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
dyld: loaded: <EE671BA8-E465-33AD-9D93-11E661B31104> /usr/lib/libxslt.1.dylib
dyld: loaded: <8CF5B495-3026-3CE1-9EFC-8D7D71380A43> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement

@gbalykov
Copy link
Member

gbalykov commented Dec 8, 2023

@geraldspreer is this with or without force_flat_namespace?

@geraldspreer
Copy link
Author

geraldspreer commented Dec 8, 2023

without, I will create one with force_flat_namespace

@geraldspreer
Copy link
Author

geraldspreer commented Dec 8, 2023

This is when compiling and running the latest HEAD without any changes.

dyld: loaded: <A66C4534-DD7B-35DB-B70E-9ADE9D7FFFDE> /usr/local/bin/direnv
dyld: loaded: <3DA2BD50-8006-3114-B91E-76711FEA0C4C> /usr/lib/libSystem.B.dylib
dyld: loaded: <97EEFB1C-18F5-39C0-B267-C67020BC9810> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
dyld: loaded: <A0842A5B-1E91-35BA-B35A-804B3A5ED46E> /System/Library/Frameworks/Security.framework/Versions/A/Security
dyld: loaded: <56DCEFF5-111E-32FD-B4E9-E148507C4FEC> /usr/lib/system/libcache.dylib
dyld: loaded: <B057F752-3057-394D-A3F6-AA11A04A6392> /usr/lib/system/libcommonCrypto.dylib
dyld: loaded: <BA910DC2-C697-3DAD-9A70-7C8CD5217AC3> /usr/lib/system/libcompiler_rt.dylib
dyld: loaded: <BD7EAE7B-28C1-36DF-96B8-F506D50DFF28> /usr/lib/system/libcopyfile.dylib
dyld: loaded: <BDD3FF5E-34F8-3AC0-A05C-F9AC17C88BBF> /usr/lib/system/libcorecrypto.dylib
dyld: loaded: <5D824C33-C5E2-38A8-BD00-D934443DBDAB> /usr/lib/system/libdispatch.dylib
dyld: loaded: <FD8DB5BC-F199-3524-9DC4-DAEC0E94712F> /usr/lib/system/libdyld.dylib
dyld: loaded: <9FBE08F6-0679-3976-AFDC-1EAF40C3958F> /usr/lib/system/libkeymgr.dylib
dyld: loaded: <20368763-EA5B-345A-A5AE-0AD19CF98CE3> /usr/lib/system/liblaunch.dylib
dyld: loaded: <F7BDAFE5-4E49-39DD-8F94-CD5E49C91A90> /usr/lib/system/libmacho.dylib
dyld: loaded: <21C63859-6DFB-3463-9ADF-BB44FB28067C> /usr/lib/system/libquarantine.dylib
dyld: loaded: <5AC9F8EC-F0E8-3D8A-ADB5-96B5FB581896> /usr/lib/system/libremovefile.dylib
dyld: loaded: <88F4051D-1CF5-314E-A952-247C38996E16> /usr/lib/system/libsystem_asl.dylib
dyld: loaded: <F5B25F38-FC21-3BF5-A147-3B913DA098BE> /usr/lib/system/libsystem_blocks.dylib
dyld: loaded: <BC8BCEEA-CA52-32C7-9FF5-E444CF9EF66A> /usr/lib/system/libsystem_c.dylib
dyld: loaded: <21F2EF42-56ED-3E0F-9C29-94E0888DC52C> /usr/lib/system/libsystem_collections.dylib
dyld: loaded: <53B71513-3009-3A8C-A5AA-9C15DD0AB54E> /usr/lib/system/libsystem_configuration.dylib
dyld: loaded: <45445167-AFC7-3406-A858-9AE8D8F45907> /usr/lib/system/libsystem_containermanager.dylib
dyld: loaded: <6D84FA08-CB2B-34E1-9AB4-A54E82CB9161> /usr/lib/system/libsystem_coreservices.dylib
dyld: loaded: <75592BEC-777B-381F-8C07-15B8A4C712A7> /usr/lib/system/libsystem_darwin.dylib
dyld: loaded: <8C4D6C93-285F-3587-A986-5BB96A1C664F> /usr/lib/system/libsystem_dnssd.dylib
dyld: loaded: <2BAC8770-AFC8-3FE2-B6C6-27CE44B2B2BA> /usr/lib/system/libsystem_featureflags.dylib
dyld: loaded: <406353B2-E48A-3D20-B08F-0AB26ED8A0B3> /usr/lib/system/libsystem_info.dylib
dyld: loaded: <1836B380-C579-3195-BC3F-77404D432186> /usr/lib/system/libsystem_m.dylib
dyld: loaded: <3AB4C7E9-C49C-3EB7-9370-370F3F655024> /usr/lib/system/libsystem_malloc.dylib
dyld: loaded: <958BAB0A-9A29-3C72-BF71-3684D5448237> /usr/lib/system/libsystem_networkextension.dylib
dyld: loaded: <02E22D9D-01E2-361C-BB9A-B5BE18D28280> /usr/lib/system/libsystem_notify.dylib
dyld: loaded: <BB06C92C-6BD7-310C-A176-DC0DCE8D9F2B> /usr/lib/system/libsystem_product_info_filter.dylib
dyld: loaded: <14A6E673-3B14-3162-9FC0-5E3259D0959E> /usr/lib/system/libsystem_sandbox.dylib
dyld: loaded: <E976428F-F9E2-334B-AA91-9AAD40234718> /usr/lib/system/libsystem_secinit.dylib
dyld: loaded: <9A2DEBED-4086-38CF-806C-DAFA8BDCC717> /usr/lib/system/libsystem_kernel.dylib
dyld: loaded: <52A77346-8AA5-3BB7-906D-C7503B491CF9> /usr/lib/system/libsystem_platform.dylib
dyld: loaded: <3E1E0D64-BA91-399C-92C0-485ECD190DF4> /usr/lib/system/libsystem_pthread.dylib
dyld: loaded: <E9CB193F-260B-3835-B76E-A2209343FA1E> /usr/lib/system/libsystem_symptoms.dylib
dyld: loaded: <1F20357C-395F-3095-B525-AD9403290A92> /usr/lib/system/libsystem_trace.dylib
dyld: loaded: <9D6A6228-8DC3-3521-B458-4EDE4A9F5E65> /usr/lib/system/libunwind.dylib
dyld: loaded: <AB7BBDA1-3AC6-3832-8AB1-F3BFB7A0E5EC> /usr/lib/system/libxpc.dylib
dyld: loaded: <B96FC1DD-0056-3E11-862A-C0BB8239FEA0> /usr/lib/libc++abi.dylib
dyld: loaded: <A0961DED-3477-3856-A6BC-CFE2475CB2F4> /usr/lib/libobjc.A.dylib
dyld: loaded: <AC9E8A76-FCAA-3F97-802A-D22EF770463B> /usr/lib/liboah.dylib
dyld: loaded: <5BA6B5ED-7842-3B13-86B0-00EB511CE2FE> /usr/lib/libc++.1.dylib
dyld: loaded: <6002BC93-3627-366E-8D21-A552D56CB215> /usr/lib/libfakelink.dylib
dyld: loaded: <9F2A881A-25DA-3386-9DCE-D2B67C2A4141> /usr/lib/libicucore.A.dylib
dyld: loaded: <3D0CEDFD-B263-39CA-8B31-E0A498D05EB3> /System/Library/PrivateFrameworks/SoftLinking.framework/Versions/A/SoftLinking
dyld: loaded: <8D80AC9E-D438-31B3-B1DC-912376E97357> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
dyld: loaded: <D95EDD2B-F269-35E2-A39E-6FF6318BD1C1> /usr/lib/libMobileGestalt.dylib
dyld: loaded: <1C5279EE-8F78-386E-9E4D-24A3785CACA2> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
dyld: loaded: <8CE0D64A-597F-3048-80C3-590D866D067A> /usr/lib/libDiagnosticMessagesClient.dylib
dyld: loaded: <0CF67F8A-268D-320A-A3A4-D7C2D9AB8027> /usr/lib/libbsm.0.dylib
dyld: loaded: <FC8265A0-9659-35D9-BA6F-6507A44742FE> /usr/lib/libcoretls.dylib
dyld: loaded: <6760D250-2628-3DA2-A8A4-6F438E09527A> /usr/lib/libcoretls_cfhelpers.dylib
dyld: loaded: <C851B25F-835B-3543-A93F-4EAA521DDC34> /usr/lib/libpam.2.dylib
dyld: loaded: <8F485B58-8440-310F-9F08-60AACABBBDC1> /usr/lib/libsqlite3.dylib
dyld: loaded: <9E460111-1BBC-31FE-8CAF-FA8AEC22C1E9> /usr/lib/libxar.1.dylib
dyld: loaded: <A2FF8D14-1632-3047-9829-CC90239F97FF> /usr/lib/libz.1.dylib
dyld: loaded: <A395F442-1253-3CA9-953F-7A235EEB7F67> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
dyld: loaded: <32846C89-8FED-3225-B370-34FB1DA82A85> /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout
dyld: loaded: <D59BEA1F-BD5D-383A-8977-64F5B72F16C4> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
dyld: loaded: <F36054C1-6074-3A22-82EF-6F4A2A52599C> /usr/lib/libcompression.dylib
dyld: loaded: <000C6862-3708-324C-BEEB-FBF10C2539CB> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
dyld: loaded: <21325211-A5F7-3AB9-BDFE-6B6DC06E587E> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
dyld: loaded: <45B577F5-0064-3E73-89B8-BE4A121B214F> /usr/lib/libarchive.2.dylib
dyld: loaded: <4C1B873A-D601-3FB5-8DA9-694541DDE767> /usr/lib/libxml2.2.dylib
dyld: loaded: <64AB84F2-BDFA-343B-8AA9-A956F8D094B3> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
dyld: loaded: <D6DDBEB6-7A9A-3F00-8DEF-18934CFC0A08> /usr/lib/liblangid.dylib
dyld: loaded: <2DADF4F9-0BD3-33CF-9939-979E69F2453C> /usr/lib/libCRFSuite.dylib
dyld: loaded: <2DE517EE-E318-366B-A7FA-AD5F62D007CB> /usr/lib/libnetwork.dylib
dyld: loaded: <236EE73F-6D38-38E0-9BC0-B427DEB7F9FD> /usr/lib/libpcap.A.dylib
dyld: loaded: <EABE9A6A-96DE-3A2E-B0E0-17F277A65757> /usr/lib/libdns_services.dylib
dyld: loaded: <AC9520D7-D54F-3031-9503-FEA5A5ED5E56> /usr/lib/libapple_nghttp2.dylib
dyld: loaded: <EDE247D7-22AC-3339-AC3E-04A5BD13E3F2> /usr/lib/libenergytrace.dylib
dyld: loaded: <CEEEE61B-CD30-3629-9734-557C0459B1D9> /usr/lib/system/libkxld.dylib
dyld: loaded: <455C9083-014D-3037-AC54-1395F3796734> /usr/lib/liblzma.5.dylib
dyld: loaded: <6E82D414-3810-36CF-94FF-B1BDF48DB501> /usr/lib/libbz2.1.0.dylib
dyld: loaded: <DEE0153A-BDF9-33CA-B8C7-3C39DB906B5E> /usr/lib/libiconv.2.dylib
dyld: loaded: <3A46C22D-E678-356B-9BAD-6E837704D662> /usr/lib/libcharset.1.dylib
dyld: loaded: <78184C84-4633-3867-AACD-8F0256F40D5A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
dyld: loaded: <7750D6BC-9919-3C38-9AF4-F3BE3FF43700> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
dyld: loaded: <0ABF8F88-B7D4-3787-9779-624B53D01702> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
dyld: loaded: <7F805949-C6FC-33B0-A2C3-4BFBF22847D4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
dyld: loaded: <7C264603-379D-38BF-A3EC-49C01059C5E5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
dyld: loaded: <E1BD267B-4C2E-358F-98F5-ED0440FFD789> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
dyld: loaded: <3B241B33-A83D-3F35-96A3-7DD44A9F876A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
dyld: loaded: <FB843860-C7D5-3060-B50E-303A3CBAE9A9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
dyld: loaded: <243CAB7D-EA1A-3322-9833-B4B24F63AB3E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
dyld: loaded: <002479BB-F126-3A2A-A952-C4B31CC33E1B> /usr/lib/libCheckFix.dylib
dyld: loaded: <72830517-DCB9-3962-9510-674239B3E3ED> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
dyld: loaded: <F40C2289-9A6D-3C55-A6DA-FFAD41636415> /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
dyld: loaded: <88322A2A-3DDD-35E0-A95C-54F4D5693191> /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities
dyld: loaded: <58AA4922-A668-3165-802C-5FB4DF848E40> /usr/lib/libmecabra.dylib
dyld: loaded: <6026D664-0453-321F-81FE-A40AD902849E> /System/Library/Frameworks/MLCompute.framework/Versions/A/MLCompute
dyld: loaded: <3D8DECC6-19B3-3A32-98CF-EB07536D1635> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
dyld: loaded: <47A982DF-1436-366E-AC45-1DA068832AED> /usr/lib/libmecab.dylib
dyld: loaded: <189F508A-723B-345D-918F-178CF15077F3> /usr/lib/libgermantok.dylib
dyld: loaded: <BA265C01-176E-3F7D-97F6-7FAABB0CAEC8> /usr/lib/libThaiTokenizer.dylib
dyld: loaded: <62BC78D3-1400-3366-A04E-C8BEE6AC00B5> /usr/lib/libChineseTokenizer.dylib
dyld: loaded: <3E9C32AD-7F40-359E-B430-E31C09EC1F78> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
dyld: loaded: <86743C4C-4556-3EA0-AEA5-46673C7634B3> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
dyld: loaded: <1DD123D7-ACC3-3FCB-838E-C91C6E4D31B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
dyld: loaded: <F46E0ACF-7524-3CA3-A64A-5DDF6081EB67> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
dyld: loaded: <560739C2-D16B-36CA-89F4-BD4DD2192333> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
dyld: loaded: <7F1276C0-C9F6-3C6F-A0F7-1EB4EA666BD8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
dyld: loaded: <D4B16233-BAE7-3D63-BB59-5DCEC63345EB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
dyld: loaded: <02F2D4D1-8763-32D1-B5F9-9DD439EFC8E8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
dyld: loaded: <27358E5F-256F-309F-AAC8-BAC4A56C7BF4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
dyld: loaded: <7D926256-F187-33CA-87D6-74F1660C438A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
dyld: loaded: <256CB21E-2878-3F22-B4B5-E1FB60D64C9E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
dyld: loaded: <1E45AC70-6C75-3F27-9252-40DF6B2D674A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
dyld: loaded: <0FD77742-B7DB-3296-9D0F-0DEF7EB4FF7D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
dyld: loaded: <2C3E2056-D58B-3DF9-8C18-9064BA94D8F1> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSCore.framework/Versions/A/MPSCore
dyld: loaded: <4D4B21EF-461D-3AB3-BDC2-830651204025> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSImage.framework/Versions/A/MPSImage
dyld: loaded: <A446A07F-29F9-3FC4-B00D-1C20B2E7347B> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork
dyld: loaded: <A999B1FC-0004-38D2-8A00-35AAF20E38D9> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix
dyld: loaded: <274E0939-A31C-3C15-91E4-33449F997FF6> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSRayIntersector.framework/Versions/A/MPSRayIntersector
dyld: loaded: <190153C9-F25B-3438-8A9A-501135103A54> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNDArray.framework/Versions/A/MPSNDArray
dyld: loaded: <2D065AB2-EF9F-3B36-A05F-7D94029E73EF> /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools
dyld: loaded: <327F44F6-872E-3BAC-95D6-69A6E30DDA8A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
dyld: loaded: <CD5E6E8F-7AB6-345E-9243-D5D674DC0225> /System/Library/PrivateFrameworks/AggregateDictionary.framework/Versions/A/AggregateDictionary
dyld: loaded: <BCE2F778-DE72-3519-8F36-89DB8518E241> /System/Library/PrivateFrameworks/CoreAnalytics.framework/Versions/A/CoreAnalytics
dyld: loaded: <EAFF4FEC-51F3-3D0D-9D99-E62E75937F1B> /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce
dyld: loaded: <19FBA808-F918-3BB2-BE78-A1B0D10D724D> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
dyld: loaded: <B6360761-3B05-35AE-8E0C-F819414FD093> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
dyld: loaded: <15CBB967-FAAE-3A22-A87F-4833A9D835E3> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
dyld: loaded: <28991DA2-1726-3F77-A9C5-4BB5AAEFA166> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/Versions/A/IOMobileFramebuffer
dyld: loaded: <EAAF99AF-2D5F-3EC5-B7F7-41D7236A09F3> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
dyld: loaded: <011AA15B-6988-3F36-81A3-2B52B561D6E0> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
dyld: loaded: <E6DC793D-3133-3D9B-BCF8-E4A628E45586> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
dyld: loaded: <09EC8AE4-7FC7-3D2D-A6DD-C484B664B1D5> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
dyld: loaded: <83A69507-07D1-387F-9D06-1011E7909EAC> /usr/lib/libcmph.dylib
dyld: loaded: <E4682D99-DD7C-3C74-A0A1-E561B6E616C6> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
dyld: loaded: <B7BB547E-B00F-37B3-A4A8-AF414F029E64> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
dyld: loaded: <E4B0DF0F-E1A5-3FEF-A2A6-8105AD54D95A> /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
dyld: loaded: <7F48320F-6931-3524-9AE2-E58582FA3D4D> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
dyld: loaded: <B5961283-0856-3D78-AE9C-EAFB6A903569> /usr/lib/libutil.dylib
dyld: loaded: <2AE731D8-757E-3A23-8375-9D266B762CC3> /usr/lib/libapp_launch_measurement.dylib
dyld: loaded: <229A56A4-E139-30A5-821E-F4E9BD9D5F17> /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore
dyld: loaded: <8098B1E9-642C-3833-AD15-0C67FEAF103E> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
dyld: loaded: <EE671BA8-E465-33AD-9D93-11E661B31104> /usr/lib/libxslt.1.dylib
dyld: loaded: <8CF5B495-3026-3CE1-9EFC-8D7D71380A43> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement

Both outputs are exactly the same.

@gbalykov
Copy link
Member

gbalykov commented Dec 9, 2023

Can you also try smth like strace (dtruss, ktrace, etc.) on mac to see syscalls and share logs with/without flat namespaces?

@geraldspreer
Copy link
Author

@viewizard
Copy link
Member

viewizard commented Dec 18, 2023

Inside both logs I found lines:

{"seq":60, "event":"output","type":"event","body":{"category":"stderr","output":"Could not execute because the specified command or file was not found.\r\nPossible reasons for this include:\r\n  * You misspelled a built-in dotnet command.\r\n  * You intended to execute a .NET program, but dotnet-./bin/Debug/net8.0/Hello.dll does not exist.\r\n  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH."}}Content-Length: 86

this looks strange for me. Are you sure, that you have debug session started for Hello.dll? Looks like debugger try start debuggee with wrong arguments, thrown exception and no debug session started at all.

I also worry, why this logs starts from vscode protocol output from debugger related to managed debuggee process start, we need all debugger related lines (debugger process start, native libs load, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants