Source Code on GitHub |
|
XPanel allows to trace Flex/Flash applications interactively, with better performance and control. It provides API familiar to J2EE developers and allows to add tracing to the application transparently.
XPanel runs with Windows NT4/95/98 and does not require any
installation. Simply create a new folder and place XPanel.exe. Also, please add
Logger.as to your /WEB-INF/flex/user-classes folder.
XPanel runs on Windows 95/98/Me, NT/2000/XP and does not
require any installation. It requires .NET
Framework 1.1 run-time preinstalled on the machine - most computers with XP
or Microsoft Office have it.
When started, XPanel will show empty window
with toolbar. It now can accept trace messages from your application.
Here is a sample application you can use to test functionality:
<mx:Application
xmlns:mx="http://www.macromedia.com/2003/mxml"
initialize="doTest()">
<mx:Button label="Test"
click="Logger.debug('111');"/>
<mx:Script><![CDATA[
function
doTest(){
_log("some trace");
Logger.info("some info");
_error("some
error");
_warn("some warning");
_debug("multi\n line");
_log("very
looooooooooooooooo ooooooooooooooooooooooooooo ooooooooooooooooo ooooooooooooooo
ooooooooooooooooooooo ooooooooooooooooooooooooo ooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooo ooooooooooooooooooooooooo
ooooooooooooooooooooooooo oooooooooooooooooooooooo oooooooooooooooooooooo
oooooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooooo
oooooooooooooooooooooooo ooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooooooooooong text");
for(var
i:Number=0; i<10; i++) _log("item "+i);
}
function _debug(s) {
Logger.debug("[testXPanel] "+s); }
function _log(s) {
Logger.info("[testXPanel] "+s); }
function _error(s) {
Logger.error("[testXPanel] "+s); }
function _warn(s) {
Logger.warn("[testXPanel] "+s); }
]]>
</mx:Script>
</mx:Application>
XPanel supports the following options :
- Trace can be printed and saved
- You can suspend and resume tracing
- Custom levels and combinations can be selected - DEBUG,INFO,WARNING and ERROR
- Trace view can be presented in text form or as a list. For long messages you can doubleclick on the entry to bring up property dialog.
XPanel is absolutely FREE and if you know of a
good site, please feel free to upload XP.ZIP!
LIABILITY DISCLAIMER -- READ BEFORE INSTALLING XPanel
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED, IMPLIED OR OTHERWISE, INCLUDING AND WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR OR HIS COMPANY BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, LOSS OF INFORMATION, OR ANY OTHER LOSS) , WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THIS SOFTWARE.