Just if someone is interested: fixed "this.dateTimeFormat is undefined" error in AjaxControlToolkit Common.js script. FB is now stopping at debugger command, but doesn't show javascript source. Sometimes it is jumping into a different script not related at all. But I'm able to use console.x commands of FB and trace through. Just no source code :-(
Ernst On Jul 21, 7:04 pm, ernie <[email protected]> wrote: > Hallo Mike, > > jo figgured that there is a "this.dateTimeFormat is undefined" error > in some Microsoft Ajax Script. Found a fix which might apply, just > doesn't. > fix > from:https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx... > and from:http://forums.asp.net/p/1387478/2953666.aspx > short: > > ---- > > For those who are still facing this problem with MS AJAX 3.5, there is > a bug in AjaxControlToolkit.Common.Common.js file. If you scroll down > to the very bottom of the file you will see this > > f (Sys.CultureInfo.prototype._getAbbrMonthIndex) { > try { > Sys.CultureInfo.prototype._getAbbrMonthIndex(''); > } catch (ex) { > ..... > > Replace the try block by > > try { > var del = Function.createDelegate > (Sys.CultureInfo.CurrentCulture != null ? > Sys.CultureInfo.CurrentCulture : Sys.CultureInfo.InvariantCulture, > Sys.CultureInfo.prototype._getAbbrMonthIndex); > del(''); > } catch (ex) { > .... > > keeping the catch block and everything else the same. This should fix > this error up. Leave me a message onwww.matrixconnects.comif you > want to understand the fix! > > PS: Yeah I am promoting my site, I am shameless! > > ---- > > after fix in file still the same. > > Greetings Ernst > > On Jul 20, 4:35 pm, Mike Walters <[email protected]> wrote: > > > someone else just mentioned this... theres a good chance you have a script > > error before it reaches thebreakpoint. put a try catch around your code and > > step through it.~m > > > On Mon, Jul 20, 2009 at 6:32 AM, ernie <[email protected]> wrote: > > > > Hallo gys, > > > > was fiddeling now a while. But Firebug doesn't work at all for my .Net > > > WebApp with UpdatePanel. No breakpoints are hit, even with debugger > > > comand. Tried with 3.x and 2.x Firefox on Windows and Linux with all > > > versions 1.2, 1.3, 1.4 and 1.5 of FB. Always the same no source code > > > or just not green (line numbers). Searched Web but all the remedies > > > suggested didn't help. > > > > Greetings Ernst > > > > PS: same code debuggs fine in VS2008 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
