<HTML dir=ltr><HEAD><TITLE>RE: [Xerte] debug(), focus</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText70175 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Having two Xerte windows open causes that - only the first one debugs properly.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Also, have toolkits open will also try and set up a local connection from the Flash movie there - or anywhere else you have XMLEngine.swf running.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Patrick Lockley<BR><B>Sent:</B> Wed 11/11/2009 12:32<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] debug(), focus<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Put debug into a script, not a text field<BR><BR>-----Original Message-----<BR>From: xerte-bounces@lists.nottingham.ac.uk<BR>[<A href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of Fred Riley<BR>Sent: 11 November 2009 12:28<BR>To: Xerte discussion list<BR>Subject: RE: [Xerte] debug(), focus<BR><BR>Back in June I posted a question about debug() not working:<BR><BR>> 1. What could cause debug() to fail? It was working in the<BR>> current app and now isn't. Even if I put in debug('any old<BR>> string'); I just see the debug window but no string, and<BR>> debug(<var>) does the same. Code syntax is sound, but even if<BR>> I comment out all code bar debug() this still happens. This<BR>> is running in Preview mode.<BR><BR>and Pat replied:<BR><BR>> 1. is because you have two xertes open.<BR><BR>In my current project I definitely, honestly, cross my heart and hope to<BR>be pied, have only one Xerte window open. I put debug('whatever') into a<BR>text field, hit F5, type into the field and expect to see a popup debug<BR>window. Nowt happens. Any ideas?<BR><BR>Sorry for the late comeback on this, but I've had to revisit a stalled<BR>project after being taken off it, and haven't touched Xerte in 4 months.<BR>I've got a knotty problem to do with collating text field entries, and<BR>it's doing my head in not being able to examine variable values to see<BR>whether or not they're being set correctly.<BR><BR>I'm using Xerte 2.5.4 (yeah, I know, but I just want to get this project<BR>finished) in Windoze eXtra Pathetic.<BR><BR>Cheers<BR><BR>Fred<BR><BR>Fred Riley<BR>Learning Technologist<BR>School of Nursing, Midwifery and Physiotherapy, University of Nottingham<BR>Vcard: <A href="http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf">http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf</A> <BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></BODY></HTML>