- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am not sure how this affects my debugging, but I am getting this error in the console when I include the remote debugging (weinre) tag.
(ie.
<script src="http://debug-software.intel.com/target/target-script-min.js#..."></script>
)
"Uncaught TypeError: Cannot read property 'call' of undefined " - at target-script-min.js:1283
This occurred before I added any code of my own, and it did not matter whether I placed the tag in the first or second suggested locations in index.html.
Regards
Colin Goldberg
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume you are not keeping the weinre script in your app when you publish it? That's not a good idea, it should be removed from your app before you publish your app.
Are you getting this when using the Emulate tab? If so, it can be ignored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response.
I did refer to "my debugging" - so this has nothing to do with publishing the app.
This is in the Emulate tab. However, the appearance of the error is quite off-putting. I wasted a lot of time finding the context of the error, because I was concerned that it was my code - I am probably not the first person who has experienced this. If this is a bug then it should be fixed. For those who try to be efficient in their development, this is not helpful.
Regards
Colin Goldberg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Emulate tab and weinre do not mix well. You should remove the weinre tag if you are using the Emulate tab.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page