Comments (4)
我想提供下 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.
你的配置相当赞👍🏻
from miniob.
根据@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.
在容器环境中调试时,因为配置文件中有"externalConsole: True"配置项导致点击调时按钮没有反应,去掉就正常了,请参考帖子:
https://ask.oceanbase.com/t/topic/35606814/9
from miniob.
Related Issues (20)
- [BUG]日志文件中打印出来的栈信息不能使用addr2line识别 HOT 2
- support memory usage monitor
- 编译后无法启动miniob HOT 2
- Apple M1 编译报错 HOT 3
- [BUG]构建的Docker开发容器无法使用root密码登录 HOT 1
- [BUG] 某处代码 Use-After-Free HOT 2
- 添加RowCount统计信息
- [BUG]vscode执行init任务失败 HOT 10
- [BUG] sysbench-test failed with `-DENABLE_ASAN=OFF`
- [BUG] sysbench-test is instability, sometimes coredump
- PAX storage format task
- aggregation and group by task
- vectorization engine task
- A question about the feature about updateing,deleting and changing index HOT 6
- About the using of class SessionStage HOT 2
- MVCC HOT 2
- 题解没有找到 HOT 1
- HelloGitHub Badge HOT 9
- Error when compiling miniob on mac HOT 1
- 增加识别 CMAKE_BUILD_TYPE 选项,删除 DEBUG=ON Cmake选项
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miniob.