Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Shell in eclipse to run manually methods of created objects
Shell in eclipse to run manually methods of created objects [message #1709988] Fri, 02 October 2015 13:51 Go to next message
sky dog is currently offline sky dogFriend
Messages: 7
Registered: September 2015
Junior Member
Hi all,

is there a way to call methods of created objects in the console while I am debugging?

I was thinking about something like a shell in the console.

Regards and thanks in advance
SkyDog
Re: Shell in eclipse to run manually methods of created objects [message #1710045 is a reply to message #1709988] Sat, 03 October 2015 05:46 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Assuming you're talking about Java code, you can put code into the editor for the selected stack frame, text select the statement, and choose to Execute it from the context menu (or Display or Inspect its results). Just don't save the changes or you might cause it to recompile with them.

_
Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Sat, 03 October 2015 05:47]

Report message to a moderator

Re: Shell in eclipse to run manually methods of created objects [message #1710131 is a reply to message #1710045] Sun, 04 October 2015 21:34 Go to previous messageGo to next message
sky dog is currently offline sky dogFriend
Messages: 7
Registered: September 2015
Junior Member
Hi,

thanks for your answer, but I was more thinking about a eclipse-plugin to execute methods of created objects or even create new objects. Something like a command line interface.

Regards
SkyDog
Re: Shell in eclipse to run manually methods of created objects [message #1710233 is a reply to message #1710131] Mon, 05 October 2015 12:59 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Scrapbook is probably what you want. See

Re: Shell in eclipse to run manually methods of created objects [message #1711262 is a reply to message #1710233] Wed, 14 October 2015 12:23 Go to previous message
sky dog is currently offline sky dogFriend
Messages: 7
Registered: September 2015
Junior Member
Thanks a lot!
Previous Topic:RCP Application with Progress View in eclipse RCP
Next Topic:"install modeling components" menu item not available
Goto Forum:
  


Current Time: Thu Apr 25 13:44:19 GMT 2024

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

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

Back to the top