Git Product home page Git Product logo

Comments (4)

Selflocking avatar Selflocking commented on August 17, 2024

我想提供下 codelldb 的配置模板:

        {
            "type": "lldb", // 需安装 CodeLLDB 插件 
            "request": "launch",
            "name": "LLDB",
            "program": "${workspaceFolder}/${defaultBuildTask}/bin/observer",
            "cwd": "${workspaceFolder}/${defaultBuildTask}/",
            "args": [
                // 指定配置文件
                "-f",
                "${workspaceFolder}/etc/observer.ini",
                // 以cli的方式启动observer, 不需要客户端
                "-P",
                "cli",
                // 以 socket 方式启动
                // "-s",
                // "miniob.sock"
                // 以TCP方式启动
                // "-p",
                // "6789",
                // 是否启用 mvcc 事务
                // "-t",
                // "mvcc",
            ],
            // 启动时是否打开调试控制台
            "internalConsoleOptions": "neverOpen",
            // 是否每次启动前重新构建
            "preLaunchTask": "build_debug",
        },

from miniob.

hnwyllmm avatar hnwyllmm commented on August 17, 2024

你的配置相当赞👍🏻

from miniob.

hnwyllmm avatar hnwyllmm commented on August 17, 2024

根据@zhaoyiping 的建议,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 } ]

from miniob.

hnwyllmm avatar hnwyllmm commented on August 17, 2024

在容器环境中调试时,因为配置文件中有"externalConsole: True"配置项导致点击调时按钮没有反应,去掉就正常了,请参考帖子:
https://ask.oceanbase.com/t/topic/35606814/9

可以把这个配置项放到"osx"中,既仅在Mac系统中启用:
image

from miniob.

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.