title: IntelliJ Idea how can I set an audio notification when a breakpoint is reached?
body: <p>With the IntelliJ Idea, when setting a breakpoint that doesn't hit frequently (or not at all), I leave my computer. I'll return ~every 10 minutes to check if the breakpoint has been reached. This process would make use of my time more efficient if I could hear when the breakpoint has been reached. Is this possible?</p>
  
  <p>EDIT: </p>
  
  <p>1) The following works as code, but I need to execute an <code>.mp4</code> file instead of <code>.app</code>.  See the second block of code for that attempt, which doesn't work.</p>
  
  <p>2) Though the code works for <code>.app</code>, how would I set the breakpoint to execute that code when it is reached?</p>
  
  <p><strong>This works as code:</strong></p>
  
  <pre><code>try {
     Runtime.getRuntime().exec("/usr/bin/open -a iTunes.app");
  } catch (IOException e) {
     e.printStackTrace();
  }
  </code></pre>
  
  <p><strong>This doesn't</strong></p>
  
  <pre><code>try {
     Runtime.getRuntime().exec("MacintoshHD/Users/myusername/Music/iTunes/iTunes Media/Tones -a 01 Zelda Gets Item Alert Tone.m4a");
  } catch (IOException e) {
     e.printStackTrace();
  }
  </code></pre>
  
  <p>btw, I did try putting quotes around the path items that had spaces. That didn't work either.</p>