56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
// 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}/computor",
|
|
// "program": "${workspaceFolder}/sqrt_test",
|
|
|
|
// "args": ["-5.6x³ + 0x² - 6x + 5"],
|
|
// "args": ["x^2 = 0"],
|
|
// "args": ["1234567899999x = 1234567899992787676832"],
|
|
"args": ["1.5x² + 3.7x + 2.4 = 0"],
|
|
// "args": ["x^2 = 0"],
|
|
// "args": ["1x² + 2x + 5 = 0"],
|
|
// "args": ["0x² + 1x + 5"],
|
|
// "args": ["5 * X^0 + 4 * X^1 = 4 * X^0"],
|
|
// "args": ["1 * X^0 + 2 * X^1 + 5 * X^2 = 0"],
|
|
// "args": ["4 * X^0 + 4 * X^1 = 6 * X^1"],
|
|
// "args": ["4 * X^0 - 2 * X^1 = 0"],
|
|
// "args": ["1 * X^0 + 5.2 * X^1 = 4.3 * X^1"],
|
|
// "args": ["10 * X^0 + 1*x^1 = 15 * X^0 + 1*x^1"],
|
|
// "args": ["5 * X^0 + 4 * X^1 - 9.3 * X^2 = 1 * X^0"],
|
|
// "args": ["5 * X^0 + 4 * X^1 - 9.3 * X^2 = 5 * X^0 + 22 * X^1 - 9.4 * X^2"],
|
|
// "args": [],
|
|
// "args": [""],
|
|
// "args": ["4"],
|
|
// "args": ["1 + 2x + 5x^2"],
|
|
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"preLaunchTask": "make"
|
|
}
|
|
]
|
|
}
|