[CLOSED] Help debugging various javascript errors

  1. #1

    [CLOSED] Help debugging various javascript errors

    As I've been using Ext.Net, I've had a number of times where I've done something that caused different unhelpful javascript errors in the browser's console. Is there a debug mode or something where I can see some more helpful information about what might be wrong?
  2. #2

    RE: [CLOSED] Help debugging various javascript errors

    Hi,


    1. It is better to use Debug scripts when you test an application. You switch to the debug scripts usign
    - ScriptMode="Debug" for the ResourceManager
    - set to the session HttpContext.Current.Session["Ext.Net.ScriptMode"] = ScriptMode.Debug;
    - set it globally in the web.config -


    <extnet scriptMode="Debug"/>

    2. It is more convinience to use IE for debug javascript under VS. If debug is allowed in the IE, to activate debug please see


    http://blogs.msdn.com/b/ie/archive/2...26/247912.aspx


    http://www.jonathanboutelle.com/how-...ernet-explorer


    In this case VS can intercept all js errors and switch to the IDE where you can set breakpoint, watch variables values, investigate Call Stack to trace exception way and etc


    3. If you have js error and cannot understand the nature of that exception then post sample which reproduces the problem (or atleast function name and number line where exception is occured)

Similar Threads

  1. [CLOSED] [1.0] ColumnModel JavaScript errors
    By egodoy in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 29, 2010, 11:18 AM
  2. Javascript errors when upgrading to 0.8.2
    By principal_X in forum 1.x Help
    Replies: 4
    Last Post: Jan 07, 2010, 9:06 PM
  3. [CLOSED] javascript errors with the latest
    By alexp in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Oct 28, 2009, 12:07 PM
  4. is javascript debugging possible with coolite
    By joydeepsen in forum 1.x Help
    Replies: 1
    Last Post: Jun 12, 2009, 11:16 AM
  5. javascript errors when render
    By nanosassa in forum 1.x Help
    Replies: 2
    Last Post: May 09, 2009, 12:10 PM

Posting Permissions