title: Jquery Ajax Post -> Works only when I step through the ajax call and only some times.......Any ideas?
body: <p>So, I have an ajax post that calls a service and returns an object which I want to parse on success.</p>
  
  <p>I am running this in vs2010, it only works when I step through the ajax post code and it only works part of the time.</p>
  
  <p>This call is basically identical to other pages that I have done so I am really troubled as to why this is not working.</p>
  
  <pre><code>$.ajax({
                  type: "POST",
                  url: webMethod,
                  data: parameters,
                  contentType: "application/json; charset=utf-8",
                  dataType: "json",
                  success: function (obj) {
                      alert("Success");
                      parseStart(obj.d, id, idnum, parseType);
                  },
                  error: function (e) {
                      alert("Failure. :" + e);
                  }
              });
  </code></pre>
  
  <p>It is really standard, I am not sure why it is doing this.  I am just hoping someone has experienced something like this before.  Like I said it only goes through if I step through the ajax code and then it gets to the success.  If I do not step through it is as if it just never hits success or failure.....  It is really strange.  (so I do not see my alerts etc if I do not step through it)  I had a suggestion that it was possibly the size of my object that I was returning from my service so I trimmed that down to close to nothing and that did not help either.</p>
  
  <p>Any thoughts directions on this are greatly appreciated.  I am currently stumped.  </p>