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
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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
    ________________
    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 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
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    Answers
    102
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Touch is Webkit and IE10 only.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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
    ________________
    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 in print!

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