I take that back. Someone is smarter than me, and the debugger frame _does_ get instantiated... hang on, lemme dig a bit.

On 2006-12-04, at 13:28 EST, P T Withington wrote:

This is probably the LFC trying to communicate with the DHTML 'debug window' which is really just a frame. The l-in-10 example surely does not realize that it needs to create the debug frame (it is created in app-console.xslt, not html-response.xslt).

One approach would be to try compiling (and using) the embedded debugger in DHTML. Another would be to special-case this example in l-in-10 to include the necessary debugger frame.

At least I think this is what is going on.

---

BTW, while you are in there, would you please remove any explicit height and width in canvas tags? That will let the canvas size to the viewer pane automatically, so you can stretch your browser window to see better.

You can also remove the <debug> tag, because the debugger will automatically default to taking the bottom half of the window and will also resize if you do that.


On 2006-12-04, at 10:37 EST, Philip Romanik wrote:

Hi Tucker, Max,

When I try and run the l-in-10 debugger example (Scripting- >Debugger) in dhtml, I get an error when typing something into the debugger window:

$modules is not defined

This is coming from /WEB-INF/lps/templates/app-console.xslt. Do you have any ideas of what the problem may be? If I open the file directly, it works just fine:

http://localhost:8080/legals/laszlo-explorer/scripting/ debugger.lzx?lzr=dhtml


Thanks!

Phil



Reply via email to