Jan 03, 2015, 8:58 PM
[CLOSED] Debugging java script code - my classes are ending up in eval code
Hi,
After upgrading my code to version 3 (still have a lot of changes to do :) ) I have noticed that my classes are ending up in eval code.
In version 2.5.3 when I ran my code in debug mode I could see all my classes as separate files loaded dynamically (using Ext.require, or extend or mixins) like below:
I could easily debug the code etc...
In version 3 all my classes are presented as "eval code". (except App.js which is statically linked in main.aspx header)
When my code is loaded as "eval code" I cannot simply set break point in my code (would have to find it in eval code in run time etc...)
What is the reason of that behavior ?
PS. I am using Visual Studio 2013.
Thank you,
Matt
After upgrading my code to version 3 (still have a lot of changes to do :) ) I have noticed that my classes are ending up in eval code.
In version 2.5.3 when I ran my code in debug mode I could see all my classes as separate files loaded dynamically (using Ext.require, or extend or mixins) like below:
I could easily debug the code etc...
In version 3 all my classes are presented as "eval code". (except App.js which is statically linked in main.aspx header)
When my code is loaded as "eval code" I cannot simply set break point in my code (would have to find it in eval code in run time etc...)
What is the reason of that behavior ?
PS. I am using Visual Studio 2013.
Thank you,
Matt
Last edited by Daniil; Jan 15, 2015 at 12:09 PM.
Reason: [CLOSED]