title: diagnosing empty store load
body: <p>I'm calling a web service with my Sencha Touch mobile app:</p>
  
  <pre><code>Ext.regModel('BaseResponse', {
      idProperty: 'ResponseTime',
      fields: [
          { name: 'ErrorMessage', type: 'string' },
          { name: 'ResponseTime', type: 'date', dateFormat: 'c' },    
          { name: 'StatusCode', type: 'string' },
          { name: 'Success', type: 'string' }
  
      ]
  });
  
  
  var declineResult =  new Ext.regStore('declineResult', 
      {
              model: 'BaseResponse',
              proxy : {
              type : 'ajax',
              dataType: "json",
              url : App.BaseURL + '/SetJobResponse/' + options.jobId + '/' + STCID +'/' + options.OJSStatusID + '/' + device.uuid,
              reader: new Ext.data.JsonReader ({
                 type: 'json'
                  })
          },
              listeners: 
              {
              'load': function(store,records,successful)
                  {                           
                  alert(records.length);
                  //alert('response message:' + Ext.StoreMgr.get("declineResult").getAt(0).ErrorMessage);
                  },
  
              'loadexception': function()
              {
                  alert('There was a load exception');
              }
              }
      });
  
      Ext.StoreMgr.get("declineResult").load();    
  </code></pre>
  
  <p>Here's the JSON returned by the URL if I just browse to it:</p>
  
  <pre><code>{"ErrorMessage":"You are not authorised","ResponseTime":"\/Date(1321447985287)\/","StatusCode":401,"Success":false}
  </code></pre>
  
  <p>However even though my load event shows Successful=true, records is empty (length of 0).
  The exception event is not being fired.
  How can I diagnose this further? I'm using Eclipse with Sencha Touch and Phonegap with an android emulator. Is there any way to see what's being returned to it?</p>