Project

General

Profile

Feature #33

calling console from GUI

Added by Tadeusz Litak over 1 year ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Normal
Start date:
07/05/2016
Due date:
% Done:

0%


Description

Stefan's students are reporting that it can take quite a long time to execute their code with GUI, even when the pause between commands is set to 0 and even when the program is rather short. What they would like to see is a (preference?) option/an additional button to run programs without tracing through the steps. Refreshing the GUI takes ages.
I cannot do any comparison with pure console mode: as reported in #30, I cannot run the console mode at all. But it's true that even running, say, the gcd example for 12 and 16 is very slow indeed.

History

#1 Updated by Alexander Dietsch over 1 year ago

  • Status changed from New to Feedback
  • Assignee set to Tadeusz Litak

I cannot do any comparison with pure console mode: as reported in #30, I cannot run the console mode at all. But it's true that even running, say, the gcd example for 12 and 16 is very slow indeed.

Cannot replicate problem; gcd example running that slow at that point is intended as the code is executing a macro in a different file and there it takes the amount of steps it needs to take (see log for what is happening). If students could send their code, I could look whether same applies there or whether the problem is on the program side.

If all goes well, next version will offer a step out of macro feature to make at least single step mode less painful in those cases.
Alternatively another approach would be executing all steps within a macro in a different file and then instantly presenting the results as one big single step.

#2 Updated by Tadeusz Litak over 1 year ago

The technicalities under the hood, i.e., whether or not several different files are used in the execution are rather remote from concerns of the users... what matters from their point of view is that there seems to be no way to test relatively quickly even simple code with simple inputs.
The original question was: is it possible to give users option an option to run a piece of code as quick and simple as possible?

#3 Updated by Alexander Dietsch over 1 year ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Tadeusz Litak to Alexander Dietsch

Also available in: Atom PDF