launch.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "(gdb) Launch",
  9. "type": "cppdbg",
  10. "request": "launch",
  11. //"program": "enter program name, for example ${workspaceFolder}/a.exe",
  12. "program": "${fileDirname}\\bin\\aplm8000sdk.exe",
  13. "args": [],
  14. "stopAtEntry": false,
  15. "cwd": "${fileDirname}",
  16. "environment": [],
  17. "externalConsole": false,
  18. "MIMode": "gdb",
  19. //"miDebuggerPath": "/path/to/gdb",
  20. "miDebuggerPath": "D:\\Qt\\Tools\\mingw1120_64\\bin\\gdb.exe",
  21. "setupCommands": [
  22. {
  23. "description": "Enable pretty-printing for gdb",
  24. "text": "-enable-pretty-printing",
  25. "ignoreFailures": true
  26. },
  27. {
  28. "description": "Set Disassembly Flavor to Intel",
  29. "text": "-gdb-set disassembly-flavor intel",
  30. "ignoreFailures": true
  31. }
  32. ]
  33. }
  34. ]
  35. }