forked from go-delve/delve
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc/native: acquire debug programs privilege on Windows (go-delve#3162)
On Windows we need to acquire the SeDebugPrivilege privilege to be able to debug programs owned by different users. See: https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/debug-privilege This procedure will fail if the current user does not have this privilege so do not complain too much about it. Fixes go-delve#3136
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters