Solved Debugging: Eclipse console freezing

Discussion in 'Plugin Development' started by oaschi, May 16, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    oaschi

    I wanted to start debugging my new plugin and followed this tutorial here: http://forums.bukkit.org/threads/debugging-plugins-in-eclipse.4043/

    Now when I run the program in eclipse, the console shows nothing but the following:
    Code:
    Loading libraries, please wait...
    2014-05-16 15:01:01,645 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
    It seems to freeze at this point.

    To my surprise, the server itself works just fine, I can join it and even stop it via the eclipse console.
    This tutorial has already worked for me years ago when I did my first plugin, I can't remember doing anything else back then.

    I use bukkit and craftbukkit 1.7.9-R0.1, if there is anything else you need to know, let me know.

    Update: I figured out that the problem only occurs with craftbukkit versions that are 1.7.x
    Any earlier verions work fine.
     
  2. Offline

    MrAwellstein

    I think that error means that it can't load output to console. Try running bukkit without you plugin.
     
  3. Offline

    oaschi

    MrAwellstein
    There aren't any plugins on the server. I tried to make the server work before putting plugins in it.
     
  4. Offline

    MrAwellstein

    You should search jansi.WindowsAnsiOutputStream on Google and see why it wouldn't load.
     
  5. Offline

    oaschi

    MrAwellstein
    Thanks, I know how to google. I wouldn't ask the forum for help if I hadn't already searched for a solution myself. :)
     
  6. Offline

    MrAwellstein

  7. Offline

    oaschi

    MrAwellstein
    yes

    I figured out that the problem only occurs with craftbukkit versions that are 1.7.x
    Any earlier verions work fine.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
  8. Offline

    oaschi

    Bump!
     
  9. Offline

    NoChanceSD

    oaschi Well, you could try using jrebel for debugging, works fine for me in any version.
     
  10. Offline

    oaschi

    NoChanceSD
    Thank you, but unfortunately jrebel is not free. I found myjrebel which is free, but wants private information. Like the facebook profile, phone number, postal code... I mean, seriously? I'm not signing up for a life insurance, I just want to debug my plugin :D
    I would also prefer to use the debugger of eclipse if possible.
     
  11. oaschi JRebel is definately worth looking at. It's very powerful and if you don't want to give private information then just create an extra twitter or facebook account and sign up with that.

    But anyways, to solve your issue; try adding "-nojline" to the startup arguments.
     
  12. Offline

    oaschi

    CaptainBern
    Okay I'll try it then, thanks.
    I already added -nojline to the startup arguments, I checked a dozen times if I did something wrong but couldn't find anything.
     
  13. Just wait then, or run your server not from within eclipse.
     
  14. Offline

    NoChanceSD

  15. Offline

    oaschi

    NoChanceSD
    Thanks, I got remote debugging with jrebel working, it seems to have some other awesome features too :D
     
Thread Status:
Not open for further replies.

Share This Page