cost 472 ms
在 Google Apps 脚本中,使用新的 V8 运行时时断点的工作方式是否有所不同? - In Google Apps Script do breakpoints work differently when using the new V8 runtime?

使用旧的运行时,我可以在代码的任何位置设置断点。 使用新的 v8 运行时断点显然必须在我从调试器运行的 function 中? 这是预期的行为吗? 我在调试器或我的代码中做错了吗? 也许它的结构不正确? 最小的例子: V8 运行时间: 我可以在var test4 = 4上设置断点,然后使用调试器 ...

获取对脚本 object 的引用 - Get a reference to the script object

至少在 V8 中,在调试器中,您会看到local 、 script和global对变量进行分类。 我得到了对global的引用。 this ,您只需将其设置为属性,以便稍后在需要时使用。 但是,我找不到如何保存对script object 的引用。 我认为它存在,因为这是调试器在手表 windo ...

使用 MailApp.sendEmail(emailAddress, subject, message) 的问题; 使用新的 Chrome V8 运行时 - problem using MailApp.sendEmail(emailAddress, subject, message); with the new Chrome V8 runtime

我正在运行一些 Google Apps 脚本,它与 Google 表格交互,该表格在表格更新时提取和比较一些值,如果超过某些标准,则发送 email。 它已经运行了一年多,但最近停止了,我发现问题出在新的 Chrome V8 运行时环境上。 如果我运行旧版 java 环境——它可以工作,没问题。 该 ...

将 Google Apps Script 项目切换到 V8 运行时时的范围问题 - Issue with scopes when switching Google Apps Script projects to V8 runtime

由于 Google Apps Script 强行推动“Rhino”到“V8”引擎,应用程序正在自动从 Rhino 迁移到 V8。 所以我们的应用程序要求在“ appscript.json ”文件中手动指定“范围”。 请检查下图: 文件 :- 当我像下面这样更新时,它工作正常。 我 ...

错误:异常:您无权调用 Session.getActiveUser。 所需权限:https://www.googleapis.com/auth/userinfo.email - Error:Exception: You do not have permission to call Session.getActiveUser. Required permissions: https://www.googleapis.com/auth/userinfo.email

我最近将我的一个项目迁移到了 appscript 的新 V8 引擎。我收到了这个异常 例外:您无权调用 Session.getActiveUser。 所需权限: https : //www.googleapis.com/auth/userinfo.email..Session.getActive ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM