3 Replies Latest reply on Feb 26, 2009 2:13 PM by phillipus_rex

    Debugger Stopping on Function with No Errors

    phillipus_rex

      My code is at the bottom.

      The debugger always stops on the getViewResults() function. As you can see, I've created two date objects that are being passed into the function as arguments.

      Can anyone see from the code what may be causing the debugger to stop on that line without any errors?

      Thanks.


      ******************************************************************


      private function getData(event:MouseEvent):void
      {
      var date1:Date = new Date(0001, 1, 1, 12, 0, 0, 0);
      var date2:Date = new Date(9999, 1, 31, 23, 59, 59, 9999999);

      emkw.getWebService().addSimpleHeader("Header1","https://www.mydata.com/DataService/Data.a smx","testName","testValue");
      emkw.getWebService().addHeader(header1);
      emkw.addgetViewResultsEventListener(resultHandler);
      trace("GOT DATA");


      emkw.getViewResults("Patient Conditions",date1,date2,null,null,0,0);


      *************************************************************************************


      }