How to debug a Diagnostic Data Adapter (custom data collector) for Microsoft Test Manager

Hello,
I have created a custom Diagnostic Data Adapter aka. custom data collector for Microsoft Test Manager (MTM) and installed it, all according to the guidelines under  Creating
a Diagnostic Data Adapter to Collect Custom Data or Affect a Test Machine.
I would like to debug my data collector. On which machine should I perform the debugging and to which process should I attach from Visual Studio? Are there any restrictions regarding the user who is running the debug session?
How can I do that?
Thank you ,
Ana

It seems that I found the solution, but I would like someone still to verify if it is the right one.
Steps:
Turn on "Microsoft Symbol Server" under In Tools-->Options-->Debugging
Restart manually "Visual Studio Lab Agent Service" on the machine where the collector is installed (this actionautomatically restarts the  Visual Studio Test Agent ("C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\QTAgentService.exe")) 
Load code for your collector in Visual Studio 
Attach the Visual Studio debugger to the processes QTAgentService.exe and QTDCAgent32.exe
Start test in MTM on client machine using test setting which trigger the data collector (diagnostic data adapter)
and finally hit a brake point in your code...
Thank you,
Ana

Similar Messages

  • How can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it

    how can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it.  i design patterns but am fairly new to photoshop. i used to be able to click on the drop down menu in patterns in the 'fill' box but cannot now do this.  have i inadvertently clicked on something to turn this facility off?  i now have to go to 'preset manager' and manually move my new design to the first box and click 'done' so that i can use it.

    Which version of photoshop are you using?
    After you define a custom pattern it should be added to the bottom of whatever patterns are already loaded.
    For example, if you define a custom pattern and then go to Edit>Fill>Pattern, the newly defined pattern should have been added to the existing loaded patterns.

  • For uploading master data(ex:customer data) into sap,

    hi
    for uploading master data(ex:customer data) into sap,
    which methods you prefer? call
    transaction/session/lsmw/bapi? why?
    Thanks
    Rama

    Hello,
    Check this:
    COde:
    REPORT zprataptable2
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    DATA : BEGIN OF itab OCCURS 0,
            i1 TYPE i,
            lifnr LIKE   rf02k-lifnr,
            bukrs LIKE   rf02k-bukrs,
            ekorg LIKE   rf02k-ekorg,
            ktokk LIKE   rf02k-ktokk,
            anred LIKE lfa1-anred,
            name1 LIKE lfa1-name1,
            sortl LIKE lfa1-sortl,
            land1 LIKE lfa1-land1,
            akont LIKE lfb1-akont,
            fdgrv LIKE lfb1-fdgrv,
             waers LIKE lfm1-waers,
            END OF itab.
    DATA : BEGIN OF jtab OCCURS 0,
            j1 TYPE i,
            banks LIKE lfbk-banks,
            bankl LIKE lfbk-bankl,
            bankn LIKE lfbk-bankn,
             END OF jtab.
    DATA : cnt(4) TYPE n.
    DATA : fdt(20) TYPE c.
    DATA : c TYPE i.
    INCLUDE bdcrecx1.
    START-OF-SELECTION.
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          filename = 'C:\first1.txt'
          filetype = 'DAT'
        TABLES
          data_tab = itab.
      CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         filename                      = 'C:\second.txt'
         filetype                      = 'DAT'
        TABLES
          data_tab                      = jtab.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF02K-KTOKK'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RF02K-LIFNR'
                                      itab-lifnr.
        PERFORM bdc_field       USING 'RF02K-BUKRS'
                                      itab-bukrs.
        PERFORM bdc_field       USING 'RF02K-EKORG'
                                       itab-ekorg.
        PERFORM bdc_field       USING 'RF02K-KTOKK'
                                       itab-ktokk.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0110'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFA1-LAND1'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'LFA1-ANRED'
                                      itab-anred.
        PERFORM bdc_field       USING 'LFA1-NAME1'
                                      itab-name1.
        PERFORM bdc_field       USING 'LFA1-SORTL'
                                      itab-sortl.
        PERFORM bdc_field       USING 'LFA1-LAND1'
                                      itab-land1.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFA1-KUNNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFBK-BANKN(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTR'.
        cnt = 0.
        LOOP AT jtab WHERE j1 = itab-i1.
          cnt = cnt + 1.
          CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
          PERFORM bdc_field  USING fdt jtab-banks.
          CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
          PERFORM bdc_field USING fdt jtab-bankl.
          CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
          PERFORM bdc_field   USING fdt jtab-bankn.
          IF cnt = 5.
            cnt = 0.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'LFBK-BANKS(01)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=P+'.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'LFBK-BANKN(02)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=ENTR'.
          ENDIF.
        ENDLOOP.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFBK-BANKS(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0210'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB1-FDGRV'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'LFB1-AKONT'
                                      itab-akont.
        PERFORM bdc_field       USING 'LFB1-FDGRV'
                                      itab-fdgrv.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0215'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB1-ZTERM'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0220'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB5-MAHNA'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0310'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFM1-WAERS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'LFM1-WAERS'
                                      itab-waers.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0320'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF02K-LIFNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0300'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=YES'.
        PERFORM bdc_transaction USING 'XK01'.
      ENDLOOP.
      PERFORM close_group.
    Header file:
    1     63190      0001     0001     0001     mr     bal188     b     in     31000     a1     inr
    2     63191      0001     0001     0001     mr     bal189     b     in     31000     a1     inr
    TC file:
    1 in sb 11000
    1 in sb 12000
    1 in sb 13000
    1 in sb 14000
    1 in sb 15000
    1 in sb 16000
    1 in sb 17000
    1 in sb 18000
    1 in sb 19000
    1 in sb 20000
    1 in sb 21000
    1 in sb 22000
    2 in sb 21000
    2 in sb 22000
    Regards,
    Vasanth

  • Using MEREQ001 u2013 Checking error for data in customer data tab.

    Hi Guys,
    I have implemented MEREQ001 enhancement to add custom field in CUSTOMER DATA tab at item level. I want to validate the custom fields for error and display RED dot in front of the line item number when user press SAVE button.
    I am using EXIT_SAPLMEREQ_005 for validating the custom field when user press SAVE button.
    Is this the correct exit for this requirement.
    Can somebody share to code to display the RED dot in front of the line item which has error in custom fields?
    Thanks in advance.

    I think it's right
    U need to tranfer the message to exporting parameter or raise an error message

  • Whats the difference between data in customer data management dashbord and customers under sales?

    Hi,
       In the navigator>sales i have a menu customers, there i can see accounts (customers) and contacts, however in the navigator>Customer data management under menu Customer data management dashboard i have organizations and persons. Whats the difference between the information shown in one place and in the other? Why is the information shown with different names in different menus?
    thanks

    Hi, The present project has the requirement to Delete the data from Sales Force objects.Have following set up: 1. Parent Objects2. Child Objects3. Cloud Data Synchronization tasks to delete these objects Parent and Child have LOOKUP relationships between them.Deleing data from Child objects did not give any error. Tried 2 scenarios to delete data from Parent object: Scenario 1: Tried to delete to data from PARENT first before deleting CHILD.                  Result: Failed Scenario 2: Tried to delete to data from PARENT after deleting CHILD.                  Result: Failed Error mesge received in both cases: "Error loading into target [SF_Object] : Error received from salesforce.com. Fields []. Status code [DUPLICATE_COMM_NICKNAME]. Message [Too many records to cascade delete or set null]." Kindly help to resolve this error and suggest a method to delete data from PARENT salesforce objects. Please feel free to ask for more inputs, if required.

  • How to change the posting date in UD stock posting for a HU managed item?

    Hi,
    We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has generated an inspection lot. Now while trying to do UD and stock posting, I do not see the "Doc" tab which we normally see in UD stock posting for normal inspection lots (non-HU managed items) for changing the date.
    I don't see any other way to change the posting date for the HU managed item in UD stock posting. Anyone can help please?
    Thanks & Regards,
    Madhavan Krishnamoorthy.

    I don't think you can.
    Craig

  • Custom File Extension for Microsoft Access Text Driver (*.txt, *.csv)

    I'm trying to use a custom file extension for the Microsoft Access Text Driver (*.txt, *.csv) driver.
    I have updated the FileExtns registry to have my new extension.
    When I issue the following it does not work.
    select [NoName] 
    from openrowset('MSDASQL'
               ,'Driver={Microsoft Access Text Driver (*.txt, *.csv)};
                    DefaultDir=c:\filedir'
               ,'select * from "file.lst"')
    If I make the file a .csv it works fine.  However, if it has an extension of not CSV or TXT (in this case .lst, which is in the registry setting) extension it throws the following error and cannot seem to find a solution to it. 
    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Text Driver] Cannot update. Database or object is read-only.". Msg 7350, Level 16, State 2, Line 1 Cannot get the column information from
    OLE DB provider "MSDASQL" for linked server "(null)".
    In addition, (although I can probably find this elsewhere), I need to have the first line 'BLANK' so that it does not miss data (there is no header row).  Is there  a way to use OPENROWSET without BULK to basically include all rows as data?
    Any help is appreciated.

    Hi,
    According to your description, I did a test with your script, and got the same message as your post. Usually, by default, the Microsoft Access Text Driver (*.txt, *.csv) supports the four extensions file, such as *.asc, *.csv, *.tab, *.txt. To solve this issue,
    I recommend you try to save the LST file in the above format, then use OPENROESET to get data from the supported extensions file in SQL Server.
    In addition, the
    OPENROWSET function is mainly used to retrieve remote data from an OLEDB data source, when you use OPENROWSET without BULK, provider_name is a necessary parameter in the script. However, the OPENROWSET (BULK...) is mainly called from a SELECT…FROM clause
    within an INSERT statement, when importing bulk data from a data file into SQL Server table. Thus if you need to import bulk data, you should use the basic  syntax: INSERT ... SELECT * FROM OPENROWSET(BULK...), also there are some alternatives, such as
    BULK INSERT
    and
    BCP .
    Thanks
    Lydia Zhang

  • How to re-initialize a Unity Connection 8.5 DataBase for Lab testing

    I have built an Active/Active Unity Connection 8.5 Cluster on UCS for lab testing and I am wondering how to re-initialize the database (Clean out the database like a new install) without having to reinstall the application. I forgot to take a DRS of the newly installed server to revert back to.
    I have tried using Bulk Administration but subscribers and Callhandlers with Dependencies will not be touched by the Bulk Administration job. I need a quick way of getting the database back to fresh install status.

    Hi,
    Unlike Unity, there isn't a way to do this with UC without re-installing the entire application.
    Brad

  • How to debug i_step=0 Bex Variable (Customer Exit)

    Hi all,
    can anyone please help me regarding following problem:
    I have a variable (customer exit) in a query. This is for hierarchy authorization.
    This variable is mentioned in my analysis authorization (Infoobject 0COSTCENTER).
    Now i want to debug the coding when execute the query in TA RSRT.
    But when i set a break-point. The i_step starts with 1. I want to debug
    the coding when the i_step is 0 !!!! Any idea?
    Best regards,
    Frank

    Here a break solution:
    only for develop system-
    you can set this code at start of the include:
    DATA: flag TYPE c.
    WHILE flag IS INITIAL.
    ENDWHILE.
    let start the query, then go to SM50 and take in debugging the process in loop. (Programe/mode-program-debugging).
    Pay attention leave the code immediately after that.

  • How to use a table to generate customized data?

    I have a table with two columns: month, count. The values are like the following:
    Jan-2007 50
    Feb-2007 46
    Mar-2007 55
    Apr-2007 76
    Jan-2009 67
    Feb-2009 86
    Mar-2009 55
    I want to show the data like this:
    Month 2007 2008 2009
    January 50 76 67
    Febuary 46 45 86
    How to do that?
    Thanks.
    Jen

    If you want to show data for all months, regardless of it being present in your base data, then:
    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> WITH t AS
      2       (SELECT 'Jan-2007' MONTH, 50 COUNT FROM DUAL UNION ALL
      3        SELECT 'Feb-2007', 46 FROM DUAL UNION ALL
      4        SELECT 'Mar-2007', 55 FROM DUAL UNION ALL
      5        SELECT 'Apr-2007', 76 FROM DUAL UNION ALL
      6        SELECT 'Sep-2008', 99 FROM DUAL UNION ALL
      7        SELECT 'Jan-2009', 67 FROM DUAL UNION ALL
      8        SELECT 'Feb-2009', 86 FROM DUAL UNION ALL
      9        SELECT 'Mar-2009', 55 FROM DUAL)
    10  --
    11  SELECT   TO_CHAR (x.rundt, 'Month') MONTH,
    12           MAX (DECODE (x.yr, '2007', COUNT, 0)) "2007",
    13           MAX (DECODE (x.yr, '2008', COUNT, 0)) "2008",
    14           MAX (DECODE (x.yr, '2009', COUNT, 0)) "2009"
    15      FROM (SELECT TO_DATE (MONTH, 'Month') dt,
    16                   TO_CHAR (TO_DATE (MONTH, 'Mon-yyyy'), 'Month') mth,
    17                   TO_CHAR (TO_DATE (MONTH, 'Mon-yyyy'), 'yyyy') yr,
    18                   COUNT, iter.pos, iter.rundt
    19              FROM (SELECT     ADD_MONTHS (dt.mindt, LEVEL - 1) rundt,
    20                               LEVEL pos
    21                          FROM (SELECT MIN (TO_DATE (MONTH, 'Mon-yyyy')) mindt,
    22                                       TO_NUMBER (TO_CHAR (MIN (TO_DATE (MONTH, 'Mon-yyyy')),'yyyy')) minyr,
    23                                       TO_NUMBER (TO_CHAR (MAX (TO_DATE (MONTH, 'Mon-yyyy')),'yyyy')) maxyr
    24                                  FROM t) dt
    25                    CONNECT BY LEVEL <= (dt.maxyr - dt.minyr + 1) * 12
    26                   ) iter,
    27                   t
    28             WHERE iter.rundt = TO_DATE (t.MONTH(+), 'Mon-yyyy')
    29           ) x
    30  GROUP BY TO_CHAR (x.rundt, 'Month')
    31  ORDER BY TO_DATE (TO_CHAR (x.rundt, 'Month'), 'Month');
    MONTH           2007       2008       2009
    January           50          0         67
    February          46          0         86
    March             55          0         55
    April             76          0          0
    May                0          0          0
    June               0          0          0
    July               0          0          0
    August             0          0          0
    September          0         99          0
    October            0          0          0
    November           0          0          0
    December           0          0          0
    12 rows selected.
    test@ORA10G>isotope

  • XI File Adapter Custom File Encoding for  issues between SJIS and CP932

    Dear SAP Forum,
    Has anybody found a solution for the difference between the JVM (IANA) SJIS and MS SJIS implementation ?
    When users enter characters in SAPGUI, the MS SJIS implementation is used, but when the XI file adapter writes SJIS, the JVM SJIS implementation is used, which causes issues for 7 characters:
    1. FULLWIDTH TILDE/EFBD9E                 8160     ~     〜     
    2. PARALLEL TO/E288A5                          8161     ∥     ‖     
    3. FULLWIDTH HYPHEN-MINUS/EFBC8D     817C     -     −     
    4. FULLWIDTH CENT SIGN/EFBFA0             8191     ¢     \u00A2     
    5. FULLWIDTH POUND SIGN/EFBFA1            8192     £     \u00A3     
    6. FULLWIDTH NOT SIGN/EFBFA2              81CA     ¬     \u00AC     
    7. REVERSE SOLIDUS                             815F     \     \u005C
    The following line of code can solve the problem (either in an individual mapping or in a module)
    String sOUT = myString.replace(\u0027~\u0027,\u0027〜\u0027).replace(\u0027∥\u0027,\u0027‖\u0027).replace(\u0027-\u0027,\u0027−\u0027).replace(\u0027¢\u0027,\u0027\u00A2\u0027).replace(\u0027£\u0027,\u0027\u00A3\u0027).replace(\u0027¬\u0027,\u0027\u00AC\u0027);
    But I would prefer to add a custome Character set to the file encoding. Has anybody tried this ?

    Dear SAP Forum,
    Has anybody found a solution for the difference between the JVM (IANA) SJIS and MS SJIS implementation ?
    When users enter characters in SAPGUI, the MS SJIS implementation is used, but when the XI file adapter writes SJIS, the JVM SJIS implementation is used, which causes issues for 7 characters:
    1. FULLWIDTH TILDE/EFBD9E                 8160     ~     〜     
    2. PARALLEL TO/E288A5                          8161     ∥     ‖     
    3. FULLWIDTH HYPHEN-MINUS/EFBC8D     817C     -     −     
    4. FULLWIDTH CENT SIGN/EFBFA0             8191     ¢     \u00A2     
    5. FULLWIDTH POUND SIGN/EFBFA1            8192     £     \u00A3     
    6. FULLWIDTH NOT SIGN/EFBFA2              81CA     ¬     \u00AC     
    7. REVERSE SOLIDUS                             815F     \     \u005C
    The following line of code can solve the problem (either in an individual mapping or in a module)
    String sOUT = myString.replace(\u0027~\u0027,\u0027〜\u0027).replace(\u0027∥\u0027,\u0027‖\u0027).replace(\u0027-\u0027,\u0027−\u0027).replace(\u0027¢\u0027,\u0027\u00A2\u0027).replace(\u0027£\u0027,\u0027\u00A3\u0027).replace(\u0027¬\u0027,\u0027\u00AC\u0027);
    But I would prefer to add a custome Character set to the file encoding. Has anybody tried this ?

  • How to restrict "insert new data source" in Analysis, edition for Microsoft Office report

    Hi Experts,
    There is a requirement in my current project: when an end user access a Analysis, edition for Office Report from BI platform, they can view and refresh the report. But users should not be able to add new data source in that Analysis Report. As per my understanding, that means "insert data source" button should remain disable for the user.
    I have check all available access levels from CMC, but cannot find any. It will be great if you let know correct access level in CMC for the same.
    Any comments/recommendation will be appreciated.
    I am using BOXI4.1 SP3 version with Microsoft Office 2013.
    Thanks in advance.
    Regards,
    Animikh Chaudhury

    The answer from our account manager is that there is only one license model for AO - which means every user is able to refresh, navigate, use planning functions and add source data (whith the standard license). Adding a DS is not really more then navigation because you can build a Query with all key figures and characteristics of a cube which gives you flexibility. That makes sense because there are no authority checks installed from SAP to avoid this (maybe this is different in combination with HANA and workspaces) .
    Futhermore SAP has no possibility to measure how many users are doing which functions instead of recording every action of every user. But where should they do it? You could use it with BO or with Netweaver or in mixed Environments. The BO license check is done on BO platform and there you have no possibility to create new users which you need for connection (I'm not sure how this is monitored in a pure BW Environment without BO).
    Furterhmore another possibility to add new data is using vba. You don't really need the buttons from the menu.

  • How can I set ne2000 network adapter in Solaris 8 for x86

    I am a beginner. I can not set a ne2000 compatible network adapter(isa) in Solaris 8 for x86.
    I do follows:
    write the file ' /kernel/drv/nei.conf ' with ' name="nei" parent="isa" reg=0x1,0x0300,0x1f interrupts=10 '
    and use the command: drvconfig -i nei --failed
    use the command: drv_add -i nei; devlinks; --there is no the command drv_add
    use the command: touch /reconfigure; reboot
    after reboot, use the command: ifconfig nei0 plumb --failed
    Did I miss something obvious, or what driver should I use?

    After backing up the suspect hard drive, I ran Disk Repair on it and found no problems. Then ran Disk Warrior again and no problems. It is a Hitachi, btw.
    As for the PrefPane issue: Repairing disk permissions on the main volume and on the partition that holds the system did not make any difference.
    Reinstalled the 10.5.8 upgrade, performed safe start and then repaired permissions again. Still getting a blank PrefPane for network.
    Next step is to try and trash the System Configuration plist and Network Interfaces plist.

  • Date Profile -- custom date field should be populated.

    Hi All,
    I am creating a sales order from CRM Web UI. I am having Configurable Product. to create a sales order.
    If i click on configure product button, I can maintain the parameter values (Months) while creating a sales order.
    Now my question is i need the "Sales Order End date" automatically populated with "Sales order start date" + above menctioned Parameter value by months.
    Please let me know if you need any more details.
    What i have done is i created a date rule to configure this and added the parameter in the generated ABAP code for date rule.
    But i am not having any luck to populated the value.
    Please show some light to move further.
    Thanks in Advance.
    Regards,
    Siva

    Hi Sushma,
    Create 2 Date instances for 'FromDate' & 'ToDate' with required values & set them.
    Example:
    java.sql.Date fromDate = new java.sql.Date(109, 1, 1); // This is 1st Feb, 2009
    wdContext.currentTimelogElement().setFromDate(fromDate);
    Similarly, java.sql.Date toDate = new java.sql.Date(109, 1, 6); // This is 6th Feb, 2009
    wdContext.currentTimelogElement().setToDate(toDate);
    For details, refer http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Date.html
    Hope this answers your query.
    Kind Regards,
    Nitin
    Edited by: Nitin Jain on Feb 6, 2009 6:41 AM

  • AIR Debug Launcher Closes on Button Click in AIR for iOS test fla

    Hi,
    I'm working with a Flash CS5.5 AIR for iOS fla using AIR 3.0. Test Movie ---> AIR Debug Launcher (Desktop) worked as expected for a couple of weeks then suddenly began to malfunction. The debug launcher fires up correctly but anytime a button is clicked in the test movie, it closes (but does not shut down completely). I don't know if I've selected something by accident but I can't get it to stop. No problems testing in Flash Professional using an ordinary AS3 fla. Any ideas?
    Thanks!

    Relaxatraja, thanks for trying to help me with this. I've tried testing for Android and for iOS... here's an example of a mobile code snippet that doesn't work in the AIR debug launcher for a contact_mc button I've made.
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    contact_mc.addEventListener(TouchEvent.TOUCH_BEGIN, fl_TouchBeginHandler);
    contact_mc.addEventListener(TouchEvent.TOUCH_END, fl_TouchEndHandler);
    var fl_DragBounds:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
    function fl_TouchBeginHandler(event:TouchEvent):void
    event.target.startTouchDrag(event.touchPointID, false, fl_DragBounds);
    function fl_TouchEndHandler(event:TouchEvent):void
    event.target.stopTouchDrag(event.touchPointID);
    Am I missing something? Do I need to import classes? Can I only test Multitouch and gestures on an actual device?
    Thanks

Maybe you are looking for