1 Star 0 Fork 0

Codeya-IDE/Codeya-IDE

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
breakpoint.cpp 613 Bytes
一键复制 编辑 原始数据 按行查看 历史
Lu Zhen 提交于 2026-02-02 14:11 +08:00 . feat: init
// SPDX-FileCopyrightText: 2023 - 2025 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later
#include "breakpoint.h"
namespace Internal
{
Breakpoint::Breakpoint()
{
}
void Breakpoint::update(dap::Breakpoint &bp)
{
if (bp.source.has_value() && bp.source.value().name.has_value()
&& bp.source.value().path.has_value()) {
fileName = bp.source.value().name.value().c_str();
filePath = bp.source.value().path.value().c_str();
}
if (bp.line.has_value()) {
lineNumber = static_cast<int>(bp.line.value());
}
}
} // end namespace.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Codeya-IDE/codeya-ide.git
git@gitee.com:Codeya-IDE/codeya-ide.git
Codeya-IDE
codeya-ide
Codeya-IDE
master

搜索帮助