question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Linux] After a second run it stops loading

See original GitHub issue

Sometimes the editor stops loading in Linux.

We don’t know the reason yet but the problem is related to restore the previous workbench state. When you close the editor it saves the state to the workspace. This state contains some information like the opened editors and views.

To get the editor to open, you should make it to load without restore this state, so you have two options:

  • Execute the editor with the -clearPersistedState option, to clear the state and start with a fresh workbench.
./PhaserEditor -clearPersistedState
  • Execute the editor with the -persistState false option. In this way the editor will not save the state when it is closed:
./PhaserEditor -persistState false

If you want to make this options by default, edit the PhaserEditor.ini file and add the following at the end:

persistState=false
clearPersistedState=true

We recommend to do both things, clear the state at the startup and disable the state saving at the closing.

Thanks to @samsstuff for report and try to fix this issue.

References: How can I prevent my workbench model from being saved on exit? https://wiki.eclipse.org/Eclipse4/RCP/FAQ

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
samsstuffcommented, Jul 11, 2017

works good, tested it on manjaro xfce, no issues except remembering which is no big deal at all, a couple of clicks open the pages needed.

Thanks for the update Arian

0reactions
PhaserEditor2Dcommented, Jan 4, 2018

Now I am working on linux so linux users will get a better product 😃

I will close this, I think this is not happening anymore since we updated to Eclipse Oxygen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu Linux PC Won't Boot? 5 Common Issues and Fixes
Ubuntu Not Booting? Try These 5 Tips · Check for bootable devices · Is the GRUB bootloader working? · Repair the bootloader menu...
Read more >
Booting stops at Loading initial ramdisk - Unix Stack Exchange
when you reach the grub menu, select the option that you would normally boot, and press the e button on your keyboard. you...
Read more >
linux script with netcat stops working after x hours
When I restart my Linux machine (RasbPi), both the scripts work fine. I've tried them like 20 times, and they keep working fine....
Read more >
What to do in case of a Linux kernel panic | Enable Sysadmin
The kernel needs to be loaded into RAM to start the OS, ... The first thing to do after seeing a kernel panic...
Read more >
Why is my crontab not working, and how can I troubleshoot it?
If the computer is not powered on or crond daemon is not running, and the date/time for a command to run has passed,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found