Switching to chosen Perspective after terminating debug session

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Switching to chosen Perspective after terminating debug session

Ragab, Karim

 


_______________________________________________
platform-debug-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev
Reply | Threaded
Open this post in threaded view
|

Switching to chosen Perspective after terminating debug session

Ragab, Karim

Dear All,

 

I implemented a patch based on the patch in bugzilla 46336 for switching back to a specific perspective after terminating debug session, the user can specify that perspective from the preferences according to each launch type and whether he needs to always switch, never switch or being prompted each time.

In case of prompting the user I am facing an issue when the user choose “Terminate and Relaunch” or “Restart”, the prompt shouldn’t be shown but launchesTerminated() method is called after the termination and the prompt appear to the user before relaunching, so is there any way to check if the “Terminate and Relaunch” or “Restart” context menu is the one chosen or any other work around for this issue?

 

Thanks and Best Regards,

Karim Ragab


_______________________________________________
platform-debug-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev
Reply | Threaded
Open this post in threaded view
|

Re: Switching to chosen Perspective after terminating debug session

Daniel Megert
Hi Karim

It's best to ask in the bug itself.

Will you upload your work as Gerrit change? If your fix uses stuff from the original patch, make sure to also list the original authors.

Dani



From:        "Ragab, Karim" <[hidden email]>
To:        "[hidden email]" <[hidden email]>
Date:        08.12.2016 21:07
Subject:        [platform-debug-dev] Switching to chosen Perspective after        terminating debug session
Sent by:        [hidden email]




Dear All,
 
I implemented a patch based on the patch in bugzilla 46336 for switching back to a specific perspective after terminating debug session, the user can specify that perspective from the preferences according to each launch type and whether he needs to always switch, never switch or being prompted each time.
In case of prompting the user I am facing an issue when the user choose “Terminate and Relaunch” or “Restart”, the prompt shouldn’t be shown but launchesTerminated() method is called after the termination and the prompt appear to the user before relaunching, so is there any way to check if the “Terminate and Relaunch” or “Restart” context menu is the one chosen or any other work around for this issue?
 
Thanks and Best Regards,
Karim Ragab_______________________________________________
platform-debug-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev



_______________________________________________
platform-debug-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev