Skip to content

Commit

Permalink
[DBG] print environment
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jul 16, 2024
1 parent 72b1115 commit 921e350
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/project_manager/ros_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ bool ROSUtils::sourceWorkspace(QProcessEnvironment &env, const WorkspaceInfo &wo
if (!initializeWorkspace(env, workspaceInfo))
return false;

Core::MessageManager::writeFlashing(">>> init:");
Core::MessageManager::writeFlashing(env.toStringList());
Core::MessageManager::writeFlashing("<<< init");

Utils::FilePath sourcePath(workspaceInfo.develPath);
if (workspaceInfo.install)
sourcePath = Utils::FilePath(workspaceInfo.installPath);
Expand All @@ -95,6 +99,9 @@ bool ROSUtils::sourceWorkspace(QProcessEnvironment &env, const WorkspaceInfo &wo
}

sourceWorkspaceHelper(env, source_path);
Core::MessageManager::writeFlashing(">>> workspace:");
Core::MessageManager::writeFlashing(env.toStringList());
Core::MessageManager::writeFlashing("<<< workspace");
return true;
}

Expand Down Expand Up @@ -1219,6 +1226,9 @@ QProcessEnvironment ROSUtils::getWorkspaceEnvironment(const WorkspaceInfo &works
// source workspaces
sourceWorkspace(env, workspaceInfo);

Core::MessageManager::writeFlashing(">>> env:");
Core::MessageManager::writeFlashing(env.toStringList());
Core::MessageManager::writeFlashing("<<< env");

return env;
}
Expand Down

0 comments on commit 921e350

Please sign in to comment.