1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    3
    Vote Rating
    0
    ktcpf is on a distinguished road

      0  

    Default Unanswered: discrepancy debugging touch apps in firefox vs chrome?

    Unanswered: discrepancy debugging touch apps in firefox vs chrome?


    I know that webkit browsers are the way to go when debugging touch apps.

    The Kitchen sink tells me that I should only run it in a webkit browser.

    Generally I use Chrome for my debugging, but I've found that the developer tools don't give me a whole lot of information out of the box. When I add any Ext object to my watches it gets labeled "Ext.apply.create.Class" and digging through that massive stack of properties on every ext object is not intuitive to me. I'm having trouble even finding out what types my objects are - Ext.getDisplayName(object) - but I have to re-do it every time.

    http://www.illuminations-for-developers.com/
    There's a firebug plugin called "Illumination" that I've been using. But this is a plugin that only runs in firebug (in firefox).

    for instance :

    this line of code
    myStore = Ext.create ("cpftest.store.QuickTemplates");


    when I look in firebug I get
    object { ... }
    and the first line when I expand the object in the debugger is
    "$classname : cpftest.store.QuickTemplates"

    when I look at it in chrome's debugger I get
    Ext.apply.create.Class

    and when I expand the object to try to dig out the class name I have no idea where to look.

    Is there some trick to debugging touch in chrome that I'm missing?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,656
    Vote Rating
    435
    Answers
    3109
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Sencha Touch does not support firefox. Expand the class you console logged and you can see what it is.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,169
    Vote Rating
    28
    Answers
    83
    jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough

      0  

    Default


    Touch is Webkit and IE10 only.

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,656
    Vote Rating
    435
    Answers
    3109
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Quote Originally Posted by jay@moduscreate.com View Post
    IE10 only.
    For ST 2.2 (just a note for any readers)
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.