cost 397 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