PDA

View Full Version : Positioning the debugger


antun
07-30-2003, 04:15 PM
Ever grow tired of adjusting the debugger size and position every time you recompile your app? Well now you don't have to - you can set the debugger size, position and text size using the <debug> tag:


<canvas debug="true">
<debug x="100" y="10" width="300" height="380"
fontsize="12" />
</canvas>


Enjoy!

ptw
07-31-2003, 06:35 AM
Note you can specify the <debug ...> tag in your application even if you don't have debug="true" in your canvas tag. Any time you want to debug your application, just append the query string ?debug=true to your URL and your application will be reloaded with debugging turned on.

huntedman
08-31-2005, 03:29 AM
Is there any way to show the full string if abbreviated? Like expanding the blue link to view the total content. I use the serialize() function alot to debug dataset...

Thanx,


Arthur.

SORRY, found it:

debug.setAttribute( "printlength", 2000 );

ptw
08-31-2005, 03:41 AM
I the latest release, when a string is abbreviated, clicking on it will print the full string.