Dojo控制台错误对象为空 [英] Dojo console error objects empty

查看:140
本文介绍了Dojo控制台错误对象为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

突然间,Dojo(1.8.3来自Google CDN)的错误突然出现了空的错误,这使得调试变得难以置信。例如,如果我在使用它之前忘记了要求一个依赖,我会得到通常的

 code>> dojo / parser :: parse()错误参考错误{} 

...在错误控制台中,但我记得在 ReferenceError (弹出箭头存在)中获取更多信息,给出了错误的论据以及消息,使我很容易弄清楚我做了什么



我的dojoConfig中有 isDebug:true ,但它不想告诉我什么了。



什么给了?

解决方案

使用Dojo 1.8.3的问题。当我关闭我的开发者工具的控制台,然后重新打开它,错误有预期的更多的细节和更多的细节。似乎很愚蠢,但试试看看是否在为您修复。我计划在稍后再进一步挖掘,所以如果我找到任何其他细节,我将确保更新我们的答案。


All of a sudden the errors that Dojo (1.8.3 from Google CDN) is spitting out empty errors, which makes debugging impossibly hard. For example, if I forget to require a dependent before using it, I get the usual

> dojo/parser::parse() error ReferenceError {} 

... in the error console, but I remember getting more information in the ReferenceError (spindown arrow was present), giving me the arguments of the error as well as the message making it easy to figure out what I had done wrong.

I have isDebug : true in my dojoConfig, but it just doesn't want to tell me anything anymore.

What gives?

解决方案

I've been having the same problem using Dojo 1.8.3 as well. When I close my developer tool's console and then re-open it the Error had the spindown and more details as expected. Seems stupid, but give it a try and see if that at "fixes" it for you. I planned on digging a little further into this later, so if I find any additional details I will make sure to update my answer with them.

这篇关于Dojo控制台错误对象为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆