Debugging Ext JS in IntelliJ 9.0.2 (Maia IU.92.273)

I am working on Ehcache Monitor right now, which uses Ext JS. IntelliJ gives you the ability to debug both Java and JavaScript, which is really nice.

Local Debugging

To debug in IntelliJ you right click on a .html file and select Debug.

Remote Debugging

Set up a JavaScript Debug Remote configuration. See below for an example.

Make sure Firefox is closed and any previous debug session is closed.

Then Debug the Javascript Debug Remote config.

Getting it to Work

We had a bit of pain getting this working.

Mac OS X Version

10.6.2

IntelliJ Versions

I tested 9.0, 9.0.1 but couldn’t get it to work. It is known to work with Maia IU.92.273 which will become 9.0.2. It will install a FireFox plugin called JetBrains Firefox Extension. The version should be 0.2.5. 9 and 9.1 shipped with a 0.1 version of this plugin.

I am using Java 1.6_17.

Firefox Bug

Firefox gives an error mentiowith sqlite3 when using the HTML and JavaScript debugger.

This is caused by a bug in Firefox 3.5.7 and a few versions back. This problem has been reported on SnowLeopard.

Dyld Error Message:
Library not loaded: /usr/lib/libsqlite3.dylib
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0

Dyld Error Message:  Library not loaded: /usr/lib/libsqlite3.dylib  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security  Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0

This is a known issue in Firefox. See https://bugzilla.mozilla.org/show_bug.cgi?id=513747

The workaround is to change the Browser config to use firefox-bin rather than firefox. See below.


Catch me at JUGs/SIGs in Brisbane, San Francisco, Philadelphia, New York and Atlanta

I am doing some JUGs and a SIG in the US the first two weeks of March. And a JUG next Monday in Brisbane, Australia.

The topics will vary from JUG to JUG but will have for most JUGs:

  • Demo: How to configure Pet Clinic for use with Ehcache standalone and Ehcache EX with Terracotta Server Array
  • Tuning tips
  • Ehcache 2.0 new and notable
  • Demo: Ehcache Monitor preview

Here are the JUG details:

  • Date: Monday 15 February 2010
  • Time: 6:00-7:30 pm
  • Location: Toowong Library, Brisbane
  • Event: Queensland Java Users Group
  • Speaker: Greg Luck and Paul O’Keefe


  • Date: 2 March 2010
  • Time: 6:30-9:00 pm
  • Location: 650 Townsend Street, San Francisco, CA 94107
  • Event: The San Francisco Java User Group Special Event
  • Speaker: Greg Luck
  • URL: [http://www.sfjava.org/calendar/12432040/]


  • Date: 3 March 2010
  • Time: 7:00-9:00 pm
  • Location: The Omnicare Building, 630 Allendale Rd, King of Prussia PA 19406
  • Event: Philly JUG
  • Speaker: Greg Luck
  • URL: [http://phillyjug.jsync.com/]


  • Date: 4 March 2010
  • Time: 6:30-9:30 pm
  • Location: Liquidnet Inc, 498 Seventh Avenue, 15th floor, New York, NY 10018
  • Event: NY Java SIG
  • Agenda: Ehcache in the Cloud
  • Speaker: Greg Luck
  • URL: [http://www.nyjavasig.com/]


  • Date: 8 March – 9 March 2010
  • Time: 8am to 6pm and 8 am to 4pm
  • Location: Cobb Galleria Centre, Two Galleria Parkway, Atlanta, Georgia 30339
  • Event: DevNexus Atlanta
  • Speaker: Greg Luck
  • URL: [http://www.devnexus.com/]
  • Date: 11 March 2010
  • Time: 6:30-9:30 pm
  • Location: 650 Townsend Street, San Francisco, CA 94107
  • Event: The San Francisco Java User Group Special Event
  • URL: [http://www.sdforum.org/]