On Thursday, January 19, 2012 11:40:36 AM UTC-5, Shraddha Gupta wrote:
>
> Hello Max,
>
> There is a step-by-step debugger in Script Editor. It can be used 
> interactively.
>
> You can logging output, the best option would be to just create a plain 
> text file and append text to it inside the function that is ran on the 
> trigger.
> You can do that in combination with Logger.getLog().
>


Yeah, but that only works when I'm launching the function myself from the 
script editor (by clicking the "debug" button)... What about when my 
function is called by the onEdit trigger?

Also, right now I'm running into another problem where it appears that 
programatically adding lines to the spreadsheet (via 
the gdata.spreadsheets.client.SpreadsheetsClient.add_list_entry method in 
the Python API) does not fire the onEdit trigger. The changes I make 
manually in the spreadsheet app correctly trigger it, but when the 
modifications are done by my Python program, I can see my changes appearing 
but the onEdit function isn't called.

Do you know what might be causing that problem, and if so, how it can be 
solved?

-- Max

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/KK5AOOoD620J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to