Git Product home page Git Product logo

Comments (3)

jonahgraham avatar jonahgraham commented on July 18, 2024

You can provide a trace of the debug session, e.g. verbose = true, optionally putting it in a file:

cdt-gdb-vscode/package.json

Lines 110 to 118 in 36449f8

"verbose": {
"type": "boolean",
"description": "Produce verbose log output",
"default": false
},
"logFile": {
"type": "string",
"description": "Absolute path to the file to log interaction with gdb"
},

Are you stepping on the step button next to the process you want to step, but the other one is stepping? I would look in the adapter log to see if the adapter is interpretting the input wrong, or if VSCode is sending an unexpected thread id. If the former, the bug is in the adapter and if the latter it is a vscode issue.

from cdt-gdb-vscode.

vinodappu avatar vinodappu commented on July 18, 2024

How can I see gdb trace? Any option in settings? I don't see any option when I checked. If I need to rebuild extension again, then it'll not help if I deployed it. Please guide.

from cdt-gdb-vscode.

colin-grant-work avatar colin-grant-work commented on July 18, 2024

When you set "verbose": true as @jonahgraham suggested, then you can see the data in the Debug Console:

launch.json:

image

Open Debug Console:

image

See all traffic between CDT-GDB Adapter and GDB:

image

When you initially encountered the problem, were you using the CDT GDB Amalgamator for debugging, or were the two sessions represented as separate debug sessions to VSCode?

from cdt-gdb-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.