I like to have Eclipse debugging in the background while I do other things, but I can't find a way to sound an audio alert or focus to Eclipse when a breakpoint is hit (I'm using OSX if that matters).
Has anyone found a way to do this?
I think that the feature is actually not supported by Eclipse, but maybe you can achieve your goal with a workaround on a conditional breakpoint.
You can try setting the breakpoint as conditional and putting your code to play the audio clip inside it, something like this :
....
InputStream in = new FileInputStream(Filename);
AudioStream as = new AudioStream(in);
AudioPlayer.player.start(as);
return true;
Should work...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With