I'ce spent a few hours creating a short self contained example. To
reproduce this bug. Run the following in debug in eclipse with a
breakpoint as directed in the code.

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JComboBox;
import javax.swing.JFrame;


public class WillCrash {

        public static void main(String[] args) {

                JComboBox<String> combo = new JComboBox<>();
                JFrame jf = new JFrame();
                jf.setExtendedState(JFrame.MAXIMIZED_BOTH);
                jf.getContentPane().add(combo);
                combo.addItem("Test 1");
                combo.addItem("Test 2");
                combo.addActionListener(new ActionListener() {
                        
                        @Override
                        public void actionPerformed(ActionEvent e) {
                                //Put break point here to crash your system
                                System.out.println("Test");
                        }
                });
                jf.setVisible(true);
                jf.pack();
                                
        }

}

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to eclipse in Ubuntu.
https://bugs.launchpad.net/bugs/1355182

Title:
  Debugging in eclipse causing system crash

Status in “eclipse” package in Ubuntu:
  New
Status in Debian GNU/Linux:
  New

Bug description:
  I'm using ubuntu 14.04 with unity for work (On a Mac Pro and on a
  Lenovo Thinkpad). I've been debugging some Java code and every time I
  step inside a given method I have problems and have to restart my
  machine (4 times now).

  The only functionality that remains is the show hide feature of the
  unity bar. Everything else is gone.

  I have just tested this on a Windows machine and I can debug fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1355182/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to