Mark,
Welcome to Active4D. If you've got 4D experience you should pick it up
quickly.
Look at the command "write to console". This will allow you to send
debug information to a console window that runs on the web server
machine. If you are developing standalone and accessing the web via
localhost this will be your machine. If you are developing with an
actual web server machine, you can Timbutku, VNC, RDC, ARD etc to that
machine and watch the console.
The other thing you can do is put debug output directly into code, e.g.,
writebr($somevar)
Also look at the code in the a4d.debug.a4l library. It contains about a
dozen very useful "dump ..." commands like "dump array".
It is extremely worthwhile to read the manual. Active4D's language adds
many useful commands and constructs to 4D's language that you should
become familiar with. At the least familiarize yourself with
"collections". In other languages these are known as associative arrays,
hashes or maps.
hth,
Brad Perkins
My first thought was to play with the demo, and trace what was happening
with requests & responses between 4D & the browser. I can capture the
traffic (I use Interarchy, though I know there may be better tools for
this), but I don¹t know how to trace the action in 4D. Putting a TRACE in On
Web Connection, as I would in On Web Authentication for SOAP, doesn¹t work
-- I¹m presuming because A4D doesn¹t use the 4D passwords and therefore I
can¹t set the generic web user to Designer as I would to debug SOAP calls.
So I¹m really just looking for a nudge in the right direction; I¹m sure
I can figure it out if I can get started in the right place. Of course, if
there¹s a ³Building Your First Web Page with Active4D for Dummies² document
someone could point me at, that would be welcome as well.
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/