Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Advanced Scripting Environment (EASE) » How to debug Python script launched from Java
How to debug Python script launched from Java [message #1794290] Tue, 28 August 2018 13:44 Go to next message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 181
Registered: July 2009
Senior Member
I have the following scenario: In an Eclipse application I have a plugin that runs a python script located in the workspace. I got this to work with the py4j engine. Now I'd like to be able to debug the script execution.
Does anyone have advice or example code that shows how to do this? Could also be for Javascript, I assume the code would be somewhat similar.
Re: How to debug Python script launched from Java [message #1794393 is a reply to message #1794290] Thu, 30 August 2018 06:51 Go to previous message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
Do you want to launch the debug process programmatically?
If you already have a working launch/debug configuration stored in your workspace you may use the Launch module to run it.

If not, check out the LaunchDelegate from EASE:
http://git.eclipse.org/c/ease/org.eclipse.ease.core.git/tree/plugins/org.eclipse.ease.ui/src/org/eclipse/ease/ui/launching/EaseLaunchDelegate.java
roughly around line 160.

HTH
Christian

Previous Topic:Release Schedule?
Next Topic:Sending Arguments to Python Script
Goto Forum:
  


Current Time: Sun Oct 06 10:32:55 GMT 2024

Powered by FUDForum. Page generated in 0.04064 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top