This commit is contained in:
Nav
2024-07-25 19:04:13 +01:00
parent 3f88e2022c
commit c9dd987643
3 changed files with 5 additions and 12 deletions

View File

@@ -157,8 +157,9 @@ void Application::startup() {
this->startSignalHandler();
Logger::info("Selected environment: \"" + this->selectedEnvironmentName + "\"");
Logger::debug("Number of environments extracted from config: "
+ std::to_string(this->projectConfig->environments.size()));
Logger::debug(
"Number of environments extracted from config: " + std::to_string(this->projectConfig->environments.size())
);
applicationEventListener->registerCallbackForEventType<Events::TargetControllerThreadStateChanged>(
std::bind(&Application::onTargetControllerThreadStateChanged, this, std::placeholders::_1)

View File

@@ -31,13 +31,6 @@
#include "src/VersionNumber.hpp"
/**
* Bloom - a debug interface for embedded systems development on Linux.
*
* This is the main entry-point of execution for the Bloom program. The methods within will run on the main
* thread. If Insight is enabled, execution will be passed over to Insight::run() upon start up.
*/
class Application: public QObject, public Thread
{
Q_OBJECT
@@ -68,7 +61,7 @@ private:
*
* See the SignalHandler class for more on this.
*/
SignalHandler signalHandler = SignalHandler();
SignalHandler signalHandler = {};
std::thread signalHandlerThread;
/**

View File

@@ -518,11 +518,10 @@ namespace TargetController
Logger::info("Activating target");
this->target->activate();
Logger::info("Target activated");
Logger::info("Target name: " + this->targetDescriptor->name);
this->target->postActivate();
Logger::info("Target name: " + this->targetDescriptor->name);
this->targetState = std::make_unique<TargetState>(
TargetExecutionState::UNKNOWN,
TargetMode::DEBUGGING,