Go Back   OpenLaszlo Developers Forums > Non-programming help and discussions > Development Tools and Practices

Development Tools and Practices Questions about development tools and practices. An appropriate place to talk about text editors, IDEs, and anything else that makes your development life easier.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-24-2003, 03:50 PM
antun antun is offline
Forum Administrator
 
Join Date: Jun 2002
Location: San Francisco
Posts: 1,678
antun is on a distinguished road
Reverse Engineering With the Debugger

If you're using a component and you want to find out how it's constructed (or if you're just using your own components and don't want to look at the code), you can get information about them from the debugger:

Code:
<canvas debug="true">
    <window id="myWin" title="My Window" resizeable="true" 
            closeable="true" />
</canvas>
If you type in:
myWin
LzWindow named
i.e. There was an instance of LzWindow, with no name.

Now try:
myWin.subviews
LzView name: top ,LzView name: middle ,LzView name: bottom
i.e. There are three views, named "top", "middle" and "bottom".

So:
myWin.top.subviews
LzView name: background ,LzView name: controls ,LzText: My Window
i.e. There's two views and a <text> field that contains "My Window".

And so on.

Enjoy!
__________________
http://www.antunkarlovac.com/blog/

Try out Webtop today:
http://www.gowebtop.com/
Reply With Quote
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
destroy() and warnings of null setters in the debugger jimkfoster General OpenLaszlo Programming 2 09-19-2007 11:09 AM
Calling functions from Debugger doesn't work on linux trucker_ General Help 13 06-20-2007 03:52 AM
Application is running with Debugger, but not without it?!? TheSmile OpenLaszlo Debugging 4 03-09-2007 01:08 AM
How do you make drop shadows on windows, like the debugger hqm Visual Design 0 01-21-2003 03:37 PM
Using the Debugger Anne Development Tools and Practices 0 01-11-2003 11:24 AM


All times are GMT -8. The time now is 07:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.