Comments (8)
@jyy12 你说的问题已经修复了。是AlloyLever的问题,在xhr send之前提前去读取xhr的状态会报这个错。你使用最新版的 AlloyLever 就ok了。
from alloylever.
用了最新版的,ajax请求txt或json的时候报类似下面的错误:
Error: Uncaught SyntaxError: Unexpected end of input Script: http://192.168.172.126/console.html Line: 0 Column: -1 StackTrace: SyntaxError: Unexpected end of input
Error: Uncaught SyntaxError: Unexpected token a Script: http://192.168.172.126/console.html Line: 1 Column: 0 StackTrace: SyntaxError: Unexpected token a
from alloylever.
@jyy12 你的json不符合格式。JSON.parse的时候出错了。我把JSON.parse try catch一下吧。
from alloylever.
@jyy12 最新的OK了。可以输出非json和非标准格式的json。 多谢多谢!!
from alloylever.
实现原理应该比较简单,捕获error或try-catch的msg信息和performance timing等数据插到到页面上展示,好早一些php框架debug模式也有实现,比如输出php的log信息~
from alloylever.
本地启动,报了两个错,一个是queryseletAll of null还有就是跨域问题
from alloylever.
@sessionStorage queryseletAll 是怎么报出来的?代码里都没有queryseletAll 啊
from alloylever.
在AlloyLever.js里面。
from alloylever.
Related Issues (20)
- 发送错误报告到指定的url没有演示吗? HOT 4
- 用QQ打开无效 HOT 3
- 感谢造了这么好一个轮子,windows端调试 ios 方便多啦 HOT 1
- config中的vconsole地址配置不生效 HOT 2
- 只用alloyLever能触发window.onerror事件,但引入了Vconsole之后触发不了 HOT 1
- 支持除单击6次外的其他埋点方式吗 HOT 1
- 代码洁癖 HOT 1
- vconsole 已经更新了,从3.0.0解决pending的问题。用新版版vconsole,报错
- 页面错误没有监控到有上报 HOT 1
- 针对压缩过的 js 和 html ,报错提交的错误定位似乎意义就不大了 HOT 1
- 建议添加支持typescript
- 建议添加跨域导致上报Script Error的解决方案,个别cdn会出现跨域的情况
- vue项目中引用,不执行error方法 HOT 1
- console.log的两个问题 HOT 3
- Powered By Nuclear 能去掉吗?
- 不能在head里面引入,和KISSY冲突
- 这个和vConsole.js有什么区别 HOT 1
- 文件引用位置:Cannot read properties 'querySelectorAll' of null 解决办法 HOT 1
- 能否像vConsole.js一样 添加一个运行js脚本的功能?
- ios下引入会使所有js文件载入两次 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alloylever.