Skip to content

each time when attaching to process, you have to select application or set app pid. This extension automates the program selection

Notifications You must be signed in to change notification settings

visoks2/VSCode_extension_ReadPID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reads program PID on debug (when attaching) add to settings.json:

"ReadPid.AppName" : "your app name",

to launch.json:

{ 
	"name": "(gdb) Attach",
	"type": "cppdbg",
	"request": "attach",
	"program": "${workspaceFolder}/yourexe",
	"processId": "${command:ReadPid}",
	"MIMode": "gdb",
	"setupCommands": [
		{
			"description": "Enable pretty-printing for gdb",
			"text": "-enable-pretty-printing",
			"ignoreFailures": true
		}
	]
}

About

each time when attaching to process, you have to select application or set app pid. This extension automates the program selection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published