Skip to content

Instantly share code, notes, and snippets.

@guillep
Created January 11, 2019 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guillep/452a9be3d231db6f89dd40bfb8cf4405 to your computer and use it in GitHub Desktop.
Save guillep/452a9be3d231db6f89dd40bfb8cf4405 to your computer and use it in GitHub Desktop.
VM Scripts
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build.win64x64/pharo.cog.spur/builddbg/vm/Pharo.exe",
"args": [ "C:/Users/Guille/Documents/Pharo/images/Pharo64/Pharo64.image" ],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"sourceFileMap": {
"/cygdrive/c" : "C:/",
"/home/Guille/projects/opensmalltalk-vm/": "C:/cygwin64/home/Guille/projects/opensmalltalk-vm/"
},
"miDebuggerPath": "c:/Strawberry/c/bin/gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) Launch stack",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build.win64x64/pharo.stack.spur/builddbg/vm/PharoConsole.exe",
"args": [ "C:/Users/Guille/Documents/Pharo/images/Pharo64/Pharo64.image" ],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"sourceFileMap": {
"/cygdrive/c" : "C:/",
"/home/Guille/projects/opensmalltalk-vm/": "C:/cygwin64/home/Guille/projects/opensmalltalk-vm/"
},
"miDebuggerPath": "c:/Strawberry/c/bin/gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
{
// start bash, not the mintty, or you'll get a new window
"terminal.integrated.shell.windows": "C:\\cygwin64\\bin\\bash.exe",
// Use this to keep bash from doing a 'cd ${HOME}'
"terminal.integrated.env.windows": {
"CHERE_INVOKING": "1"
},
// Make it a login shell
"terminal.integrated.shellArgs.windows": [
"-l"
],
"files.autoSave": "afterDelay",
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build debug",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}/build.win64x64/pharo.cog.spur/"
},
"command": "./mvm -d",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "build debug stack",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}/build.win64x64/pharo.stack.spur/"
},
"command": "./mvm -d",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment