Fix a bug related to debug mode 36/317836/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 19 Sep 2024 06:57:14 +0000 (15:57 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 19 Sep 2024 06:57:14 +0000 (15:57 +0900)
To remove debug argv, the launchpad should call PrepareDebugger() method.

Change-Id: Iaf8964548bae452686e75fdd9a0d6efdc02e6620
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/app_executor.cc

index c22625034ace9c0d889dd8b1c8846598109cca11..7f43b37820b9ef58b01f4c7905601a733d796939 100644 (file)
@@ -54,8 +54,7 @@ AppExecutor::AppExecutor() {
 
 pid_t AppExecutor::Execute(const AppInfo* app_info) {
   auto& b = const_cast<tizen_base::Bundle&>(app_info->GetBundle());
-  if (b.GetType(kAulSdk) != BUNDLE_TYPE_NONE)
-    Debug::GetInst().PrepareDebugger(b);
+  Debug::GetInst().PrepareDebugger(b);
 
   auto app_args =
       CreateAppArgv(app_info->GetAppPath(), b, app_info->GetAppType());