언어 설정

Menu
Sites
Language
How to debug multiple apps simultaneously

Hi,

I have two apps which I want to debug simultaneously.

For example: I create two native projects using sample apps provided in Tizen mobile SDK.

Project 1: Calculator

Project 2: File manager

I right click on calculator project, and select "Debug As" --> "Tizen Native Application" : This launches the app on emulator and stops at main as expected.

Then, I right click on File manger project, and select "Debug As" --> "Tizen Native Application". The launcher hangs after building file manger. The app never gets deployed to emulator.

Why does this not work?

I have checked and verified that the gdbserver port numbers are different.

Thanks in advance!

 

Responses

7 댓글
Alex Dem

Hi,
Try to launch 2 instances of Tizen IDE with different workspaces and launch desired native apps in debug mode from every of them.
I was able to launch two differen apps on the same emulator in debug mode. If one app went to the foreground/background, breakpoints in another app inside of app_pause()/app_resume() have been occured.
I was able to perform this with Tizen 2.3.0 rev2 .
Alexey.

Krishna Devale

Hi,

Thanks for your response Alexey. 

Is there a way in which I can debug two apps from single Tizen IDE and same workspace rather than opening two IDEs with different workspace. 

Is it a configuration that I am missing or is it a limitation in Tizen IDE that I cannot debug 2 apps simultaneously being connected to single emulator?

Thanks,

Krishna

Alex Dem

Нi,
I did not face such possibility (I was unable to debug 2 apps simultaneously from the same IDE from the same workspace) and I don't see necessity to launch 2 UI apps in debug mode on the same device. In any case only one app could be on top, hence another app will be in background.
Alexey.

Alex Ashirov

Hi,

Probably, this may be useful if you develop 2 service apps or UI app with service app.

Alex Dem

Hi Alex,
I agree (but request was for Calc and File manager), I meant 2 UI apps.
Alexey

Krishna Devale

Hi,

It can be considered as one service app and one client app. 

-Krishna

Alex Dem

Hi,
I thought that you could try to use multipackage app (Ui and service apps in the same package):
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/app_dev_process/multiple_project_dev_package.htm
But I have started such app in debug mode on device, only breakpoint in UI app have been occured on 2.3.0 rev2 .
Alexey.