debugging of inserted code ?

"Mcginkel" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Organization http://groups.google.com
Message-ID <[email protected]>
Hi,

I am working on a project where we load code dynamicly/synchronious and
execute it. This works fine but venkman looses track. It is unaware
that we have added code to this page. I would like to debug that code
as well. Does anyone know if this possible ?

Kees

Sample code :
<html>
<head>
  <script>
	function go() {
	if (!window.aa) {
		var s = document.createElement("Script");
		s.innerHTML+="function aa(arg) {debugger;var b = 1;alert(arg);}";
		document.documentElement.firstChild.appendChild(s);
	}
	//@JSD_LOG "Net voor aa"
	aa("test successfull");
	}
  </script>
</head>
<body>
<div id="code"></div>
<h1>Test of venkman with code insertion</h1>
<input name="go" onclick="go();" value="Go" type="button"><br>
</body>
</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.