Browse Source

In order to find executable, create default build if missing, prior to creating debug build

pipelines/235045657
eidheim 5 years ago
parent
commit
41bead3e50
  1. 6
      src/project.cpp

6
src/project.cpp

@ -344,9 +344,11 @@ Project::DebugOptions *Project::LLDB::debug_get_options() {
} }
void Project::LLDB::debug_start() { void Project::LLDB::debug_start() {
auto debug_build_path = build->get_debug_path();
auto default_build_path = build->get_default_path(); auto default_build_path = build->get_default_path();
if(debug_build_path.empty() || !build->update_debug() || default_build_path.empty()) if(default_build_path.empty() || !build->update_default())
return;
auto debug_build_path = build->get_debug_path();
if(debug_build_path.empty() || !build->update_debug())
return; return;
auto project_path = std::make_shared<boost::filesystem::path>(build->project_path); auto project_path = std::make_shared<boost::filesystem::path>(build->project_path);

Loading…
Cancel
Save