Results 1 to 3 of 3

Thread: Debugging help

  1. #1

    Default Debugging help

    Newbie question - I'm following the example code for Keyboard Navigation (from the files downloaded from the page, complex.html and complex.js), and when I load the page unedited it just shows one part of the content (center - the personal details form), and gives this error in the console:
    Uncaught TypeError: Cannot read property 'id' of undefined

    My question is, how should I go about debugging this (assuming it was my code) ?
    I found in the middle of the stack list one reference to my files -



    which is the code Ext.create('Ext.tab.Panel', so I guess something is wrong with creating the tab panel, but as I am new to ExtJS I can't see anything obviously wrong.

    Can someone give any tips on how to approach fixing bugs using the information available ?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716

    Default

    Several questions ..

    What are you using to debug your application at this time? DevTools in Chrome or Firebug in FireFox?

    If your code is simple, on you paste in here, or create a small fiddle so we can see it run.
    https://fiddle.sencha.com/#home

    If you paste the code, please try to make sure we can run the example and not just a snippet.

  3. #3

    Default

    You've missed the point, I'm not looking for the bug to be fixed for me, I'd like some tips on how to get clues to figure it out for myself.
    I'm using mainly Chrome->Tools->Debugger Tools, also Firebug.
    And I shouldn't have to send you the code, it's your code (unmodified) that isn't working (complex.js & complex.html from Keyboard Navigation concepts):
    http://docs.sencha.com/extjs/4.2.2/g..._nav/start.zip

    This is how it looks when I run it.
    Attached Images Attached Images

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •