|
|
| Author |
Message |
|
| Guest |
Posted: Thu May 06, 2010 3:01 pm |
|
|
|
Guest
|
within erl I can do:
c(afile,[debug_info]).
im().
ii(afile).
iaa([init]).
then debug afile. How would I do this with a .yaws file? Does yaws
compile a beam file somewhere? The reason I'm trying to do this is
I'm to analyze what the websocket example is doing. Especially in
the websockets_example_endpoint.yaws in the echo server function. I'm
trying to figure out what structure the Data variable is in as I want
to take a ":" delimited string (what will be in Data), call another
erl function and then put the results in Data and then send it to
yaws:api:websocket_send(WebSocket, Data). I tried making Data="test",
but "test" does not come out as when Data is left alone - it does then
send back what is in Data from the unframe_data line above it.
I looked in yaws_api.erl, yaws_websockets.erl. I guess I could
compile debug info with these as they are erl files and poke around
with them.
thx,
-wes
------------------------------------------------------------------------------
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|