473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.net studio (javascript) : dynode code not visible in visual studio

d d
Hi,

I'm using Visual Studio 7 (.NET 2003) to debug JS code and find that code
that was written into a script block dynamically doesn't show up. Whenever
any of that code executes, there's no source to go with it. I suspect this
is
because it wasn't loaded into the browser directly from a .JS file, so it
doesn't know where it's from.

There's an inconsistency though. If I have a block of code (in a string) and
I eval it into existence, then in "running documents" I see "eval code" and
it
the source code is accessible and can be stepped thru from there. I can set
breakpoints in any code I eval'ed into existence and step thru it no
problem.

If, however, I brought that code into existence by creating a script
element, adding the string block of code into the .text property, and then
using insertAdjacentElement or .appendChild, then I don't see it anywhere.
Any attempt to set breakpoints or step thru any of that code and I just get
"no source code available".

It's not that the code isn't working, it's just a pain if I have a bug.

~dd
Sep 28 '06 #1
0 1090

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jack Man | last post by:
Hello. I need to write a small bit of code for a web application for commercial intranets. A small control panel in a web browser needs to be always visible (i.e in front of other windows) when...
5
by: Slawomir Piotrowski | last post by:
Hello, I'm writing C# code and executing it using InstallUtilLib.dll from custom action during an installation process. It works fine. I've written some code to add an item (component) to...
1
by: Timothy Elvidge | last post by:
I have a default page thet causes Visual Studio to crash when opening it in design view. I have narrowed it down to the template colum but have no idea how to prevent this happening. The page...
5
by: chrisfarscape | last post by:
I am having a problem getting my visual studio to recognize my option buttons within a table control. When I place <asp:TableCell> <asp:RadioButton id”test1” Text=”Test”...
9
by: String | last post by:
Don't have the fix I need it. This is the exact problem from microsoft: http://support.microsoft.com/default.aspx?scid=kb;en-us;819349 They do a nice job describing it and how to reproduce it....
8
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
3
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, This is an issue that happens to me and everybody else I know and I've never found a way around it. In Visual Studio (currently using 2003 but the same has happened for me in 2005 and...
13
by: miztaken | last post by:
Hi, My C# application have a following code to create an instance of Visual Studio. System.Type type = System.Type.GetTypeFromProgID("VisualStudio.DTE. 8.0"); Object obj =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.