Mihaly Szjatinya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24418 )

Change subject: IMPALA-15082: Add VSCode Settings and Launch Configs
......................................................................


Patch Set 10:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24418/9/.vscode-defaults/launch.json
File .vscode-defaults/launch.json:

http://gerrit.cloudera.org:8080/#/c/24418/9/.vscode-defaults/launch.json@57
PS9, Line 57:   ]
> Good question.  Java debugging is included with the VSCode Extension Pack f
Take it for it's worth, I have a very basic config below, which is based on an 
Impala wiki page. It should be using the 'C/C++' extension by Microsoft. After 
launch user is prompted to pick an impalad process.

I haven't had problems with it so far. Only thing to remember is to build with 
the compiler optimisations turned off (the '-O0' flag) to be able to navigate 
all of the code.

{
            "name": "(gdb) Attach to impalad",
            "type": "cppdbg",
            "request": "attach",
            "program": "${workspaceFolder}/be/build/latest/service/impalad",
            "processId": "${command:pickProcess}",
            "miDebuggerPath": "/usr/bin/gdb",
            "MIMode": "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
                }
            ]
}



--
To view, visit http://gerrit.cloudera.org:8080/24418
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I98e6966d83fdaaedda867a37b42725616d3b9216
Gerrit-Change-Number: 24418
Gerrit-PatchSet: 10
Gerrit-Owner: Jason Fehr <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Mihaly Szjatinya <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Xuebin Su <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Thu, 09 Jul 2026 11:21:22 +0000
Gerrit-HasComments: Yes

Reply via email to