[Xerte-dev] Re: Debugging Xerte

Pat Lockley patrick.lockley at googlemail.com
Fri May 11 11:40:35 BST 2012


caching the local connection (unless sarcasm)

On Fri, May 11, 2012 at 11:29 AM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk> wrote:
> I found out recently that if you have Xerte open with a debug window open,
> then publish your project, when you run your project in a web browser it
> will output the debug statements to the debug window.
>
>
>
> Blimey. That has never occurred to me.
>
>
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp
> Johnathan
> Sent: 11 May 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Debugging Xerte
>
>
>
> I found out recently that if you have Xerte open with a debug window open,
> then publish your project, when you run your project in a web browser it
> will output the debug statements to the debug window.
>
>
>
> I was thinking more of something that would stop and step through operation
> for situations in which Xerte dies on you. So that you could put in break
> points.
>
>
>
> Having slept on my particular programming problem I now have some useful
> ideas were to start looking for the offending code - time to go looking is
> another matter :-(
>
>
>
> Kind regards
>
>
>
> Johnathan
>
>
>
> On 11 May 2012 08:55, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
>
> getURL(‘javascript:alert(‘ + yourDebugMessage + ‘);’);
>
>
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp
> Johnathan
> Sent: 10 May 2012 23:09
> To: Xerte Developers Discussion List
> Subject: [Xerte-dev] Debugging Xerte
>
>
>
> I am updating the scenario connector page to make it easier to use and have
> hit a situation where adding a particular xml element in the xwd form
> results in xerte locking up.
>
>
>
> Is there any way of executing a preview or publishing the project and then
> viewing it in a browser such that it is possible to use some kind of
> debugging tool so that I can trace the progress of the code?
>
>
>
> Of have I got to do it the hard way and start commenting out blocks of code
> :-(
>
>
>
> Kind regards
>
>
>
> Johnathan
>
>
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do not
> use, copy or disclose the information contained in this message or in any
> attachment.  Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do not
> use, copy or disclose the information contained in this message or in any
> attachment.  Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>



More information about the Xerte-dev mailing list