Instantly share code, notes, and snippets.

Embed
What would you like to do?
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