[2023-04-21 09:44:15.204] [info] getLockFinished [2023-04-21 09:44:15.216] [info] APP Start [2023-04-21 09:44:15.217] [info] Mem: { "total": 33553912, "free": 11437040, "swapTotal": 33552012, "swapFree": 6472420 } [2023-04-21 09:44:15.242] [info] OS: Windows_NT platform: win32 arch: x64 os_release: 6.1.7601 uptime: 26152218 mem: 34359205888 cpu: [{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2093855250,"nice":0,"sys":548741750,"idle":23511352703,"irq":2066812}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2705536421,"nice":0,"sys":93171296,"idle":23355241703,"irq":2108140}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":3251179312,"nice":0,"sys":172967390,"idle":22729802703,"irq":2472515}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2278251906,"nice":0,"sys":82790781,"idle":23792906703,"irq":1445640}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2615759546,"nice":0,"sys":118025312,"idle":23420164500,"irq":973593}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2782239593,"nice":0,"sys":75027781,"idle":23296681968,"irq":1554562}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2341649093,"nice":0,"sys":99205296,"idle":23713094937,"irq":1470140}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":3098878406,"nice":0,"sys":212716421,"idle":22842354453,"irq":8499859}}] version: 4.1.0 [2023-04-21 09:44:15.243] [info] app get lock success [2023-04-21 09:44:15.312] [info] App Ready [2023-04-21 09:44:15.314] [info] Screen: width: 1920, height: 1080 [2023-04-21 09:44:15.315] [info] create new main web [2023-04-21 09:44:15.348] [info] checking java version [2023-04-21 09:44:15.350] [info] 发现内置 JRE ,跳过版本检查 [2023-04-21 09:44:15.385] [info] **realport: 8989** [2023-04-21 09:44:15.387] [info] resourcesPath: D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources [2023-04-21 09:44:15.390] [info] renderer path: file:D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\renderer\ [2023-04-21 09:44:15.392] [info] obPath: D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\libraries\obclient\obclient.exe [2023-04-21 09:44:18.516] [info] system env ALLUSERSPROFILE APPCODE_VM_OPTIONS APPDATA CHROME_CRASHPAD_PIPE_NAME CLIENTNAME CLION_VM_OPTIONS CommonProgramFiles CommonProgramFiles(x86) CommonProgramW6432 COMPUTERNAME ComSpec DATAGRIP_VM_OPTIONS DATASPELL_VM_OPTIONS FP_NO_HOST_CHECK GATEWAY_VM_OPTIONS GOLAND_VM_OPTIONS HOMEDRIVE HOMEPATH IDEA_VM_OPTIONS JAVA_HOME JETBRAINSCLIENT_VM_OPTIONS JETBRAINS_CLIENT_VM_OPTIONS LOCALAPPDATA LOGONSERVER MAVEN_HOME NLS_LANG NUMBER_OF_PROCESSORS NVM_HOME NVM_SYMLINK ORIGINAL_XDG_CURRENT_DESKTOP OS Path PATHEXT PHPSTORM_VM_OPTIONS PROCESSOR_ARCHITECTURE PROCESSOR_IDENTIFIER PROCESSOR_LEVEL PROCESSOR_REVISION ProgramData ProgramFiles ProgramFiles(x86) ProgramW6432 PSModulePath PUBLIC PYCHARM_VM_OPTIONS RIDER_VM_OPTIONS RUBYMINE_VM_OPTIONS SESSIONNAME SystemDrive SystemRoot TEMP TMP USERDOMAIN USERDOMAIN_ROAMINGPROFILE USERNAME USERPROFILE WEBIDE_VM_OPTIONS WEBSTORM_VM_OPTIONS windir windows_tracing_flags windows_tracing_logfile [2023-04-21 09:44:18.517] [info] runJavaProcess jar: D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\libraries\java\odc.jar cwd: C:\Users\cyq\AppData\Roaming\odc env: { "ODC_TASK_TYPE": null, "ODC_BEFORE_ACTION": null, "ODC_TASK_ACTION": null, "ODC_AFTER_ACTION": null, "ODC_WEB_STATIC_LOCATION": "file:D:\\Program Files\\OceanBase Developer Center\\OceanBase Developer Center\\resources\\renderer\\", "ALLUSERSPROFILE": "C:\\ProgramData", "APPCODE_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\appcode.vmoptions", "APPDATA": "C:\\Users\\cyq\\AppData\\Roaming", "CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\crashpad_133008_PXNNJWWNDXHAQAGX", "CLIENTNAME": "CYQ", "CLION_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\clion.vmoptions", "CommonProgramFiles": "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", "CommonProgramW6432": "C:\\Program Files\\Common Files", "COMPUTERNAME": "iZ8tgfkhucdwnlZ", "ComSpec": "C:\\Windows\\system32\\cmd.exe", "DATAGRIP_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\datagrip.vmoptions", "DATASPELL_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\dataspell.vmoptions", "FP_NO_HOST_CHECK": "NO", "GATEWAY_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\gateway.vmoptions", "GOLAND_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\goland.vmoptions", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\cyq", "IDEA_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\idea.vmoptions", "JAVA_HOME": "D:\\Program Files\\OceanBase Developer Center\\OceanBase Developer Center\\resources\\libraries\\jre", "JETBRAINSCLIENT_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\jetbrainsclient.vmoptions", "JETBRAINS_CLIENT_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\jetbrains_client.vmoptions", "LOCALAPPDATA": "C:\\Users\\cyq\\AppData\\Local", "LOGONSERVER": "\\\\iZ8tgfkhucdwnlZ", "MAVEN_HOME": "D:\\apache-maven-3.6.1", "NLS_LANG": "AMERICAN_AMERICA.ZHS16GBK", "NUMBER_OF_PROCESSORS": "8", "NVM_HOME": "C:\\Users\\Administrator\\AppData\\Roaming\\nvm", "NVM_SYMLINK": "C:\\Program Files\\nodejs", "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined", "OS": "Windows_NT", "Path": "D:\\app\\Administrator\\product\\11.2.0\\client_1;D:\\app\\Administrator\\product\\11.2.0\\client_1\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;D:\\zjyy_dev\\java1.8.0_161\\bin;D:\\Program Files\\Microsoft VS Code\\bin;D:\\Program Files\\Git\\cmd;D:\\apache-maven-3.6.1\\bin;C:\\Program Files (x86)\\Yarn\\bin\\;D:\\zjyy_dev\\wcjused;D:\\zjyy_dev\\wcjused\\Scripts;%NVM_HOME%;%NVM_SYMLINK%", "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "PHPSTORM_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\phpstorm.vmoptions", "PROCESSOR_ARCHITECTURE": "AMD64", "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 85 Stepping 4, GenuineIntel", "PROCESSOR_LEVEL": "6", "PROCESSOR_REVISION": "5504", "ProgramData": "C:\\ProgramData", "ProgramFiles": "C:\\Program Files", "ProgramFiles(x86)": "C:\\Program Files (x86)", "ProgramW6432": "C:\\Program Files", "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC": "C:\\Users\\Public", "PYCHARM_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\pycharm.vmoptions", "RIDER_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\rider.vmoptions", "RUBYMINE_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\rubymine.vmoptions", "SESSIONNAME": "RDP-Tcp#0", "SystemDrive": "C:", "SystemRoot": "C:\\Windows", "TEMP": "C:\\Users\\cyq\\AppData\\Local\\Temp\\3", "TMP": "C:\\Users\\cyq\\AppData\\Local\\Temp\\3", "USERDOMAIN": "IZ8TGFKHUCDWNLZ", "USERDOMAIN_ROAMINGPROFILE": "IZ8TGFKHUCDWNLZ", "USERNAME": "cyq", "USERPROFILE": "C:\\Users\\cyq", "WEBIDE_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\webide.vmoptions", "WEBSTORM_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\webstorm.vmoptions", "windir": "C:\\Windows", "windows_tracing_flags": "3", "windows_tracing_logfile": "C:\\BVTBin\\Tests\\installpackage\\csilogfile.log", "server.port": "8989", "ODC_PROFILE_MODE": "clientMode", "obclient.work.dir": "C:\\Users\\cyq\\AppData\\Roaming\\odc\\data", "file.storage.dir": "C:\\Users\\cyq\\AppData\\Roaming\\odc\\data", "DB_PATH": "C:\\Users\\cyq\\AppData\\Roaming\\odc", "obclient.file.path": "D:\\Program Files\\OceanBase Developer Center\\OceanBase Developer Center\\resources\\libraries\\obclient\\obclient.exe" } [2023-04-21 09:44:18.519] [info] fetch server status count(1) [2023-04-21 09:44:19.531] [info] check server with resp err [2023-04-21 09:44:19.532] [info] check server with false [2023-04-21 09:44:23.534] [info] fetch server status count(2) [2023-04-21 09:44:24.533] [info] check server with resp err [2023-04-21 09:44:24.535] [info] check server with false [2023-04-21 09:44:28.541] [info] fetch server status count(3) [2023-04-21 09:44:29.560] [info] check server with resp err [2023-04-21 09:44:29.562] [info] check server with false [2023-04-21 09:44:33.565] [info] fetch server status count(4) [2023-04-21 09:44:34.575] [info] check server with resp err [2023-04-21 09:44:34.576] [info] check server with false [2023-04-21 09:44:38.578] [info] fetch server status count(5) [2023-04-21 09:44:39.574] [info] check server with resp err [2023-04-21 09:44:39.575] [info] check server with false [2023-04-21 09:44:43.576] [info] fetch server status count(6) [2023-04-21 09:44:44.582] [info] check server with resp err [2023-04-21 09:44:44.583] [info] check server with false [2023-04-21 09:44:48.584] [info] fetch server status count(7) [2023-04-21 09:44:49.596] [info] check server with resp err [2023-04-21 09:44:49.597] [info] check server with false [2023-04-21 09:44:53.599] [info] fetch server status count(8) [2023-04-21 09:44:54.603] [info] check server with resp err [2023-04-21 09:44:54.605] [info] check server with false [2023-04-21 09:44:58.606] [info] fetch server status count(9) [2023-04-21 09:44:59.608] [info] check server with resp err [2023-04-21 09:44:59.610] [info] check server with false [2023-04-21 09:45:03.610] [info] fetch server status count(10) [2023-04-21 09:45:04.008] [info] check server api status: 200 [2023-04-21 09:45:04.015] [info] Server startup time: 45.496 [2023-04-21 09:45:04.016] [info] Main Server Start Success(port=8989, path=D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\libraries\java\odc.jar)!!!!! [2023-04-21 09:45:04.017] [info] create new main web(server start success) [2023-04-21 09:45:04.019] [info] renderer url: http://localhost:8989/index.html [2023-04-21 09:45:04.025] [info] create new main web(window opened) [2023-05-05 10:44:59.913] [warn] webcontent close, url: http://localhost:8989/index.html#/odc/workspace/session/62005-1683179521250-7645-tab/sid:1-8:d:oceanbase [2023-05-05 10:44:59.915] [warn] { preventDefault: '[function] function preventDefault() { [native code] }', sender: { setBounds: '[function] (e,...r)=>{e={...this.getBounds(),...e},t.call(this,e,...r)}', _events: { blur: '[function] t=>{e.emit("browser-window-blur",t,this)}', focus: '[function] t=>{e.emit("browser-window-focus",t,this)}', show: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', hide: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', minimize: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', maximize: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', restore: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', unresponsive: '[function] e=>{u.error("webcontent unresponsive, url: "+n.webContents.getURL()),u.error(e)}', close: '[function] e=>{u.warn("webcontent close, url: "+n.webContents.getURL()),u.warn(e)}', closed: '[function] e=>{u.warn("webcontent closed")}', 'session-end': '[function] e=>{u.warn("webcontent session-end "),u.warn(e)}' }, _eventsCount: 11, emit: '[function] (event, ...args) => {\n' + ' var _a, _b;\n' + ' if (shouldCapture && shouldCapture(event)) {\n' + ' const breadcrumb = {\n' + " category: 'electron',\n" + ' message: `${category}.${event}`,\n' + ' timestamp: new Date().getTime() / 1000,\n' + " type: 'ui',\n" + ' };\n' + ' if (id) {\n' + ' breadcrumb.data = Object.assign({}, (0, renderers_1.getRendererProperties)(id));\n' + ' if (!this._options.captureWindowTitles && ((_a = breadcrumb.data) === null || _a === void 0 ? void 0 : _a.title)) {\n' + ' (_b = breadcrumb.data) === null || _b === void 0 ? true : delete _b.title;\n' + ' }\n' + ' }\n' + ' (0, core_1.addBreadcrumb)(breadcrumb);\n' + ' }\n' + ' return emit(event, ...args);\n' + ' }', devToolsWebContents: null } } [2023-05-05 10:44:59.977] [warn] webcontent closed [2023-05-05 10:44:59.978] [info] windows all closed [2023-05-05 10:44:59.979] [info] app will quit: { preventDefault: '[function] function preventDefault() { [native code] }', sender: { quit: '[function] function quit() { [native code] }', exit: '[function] function exit() { [native code] }', focus: '[function] function focus() { [native code] }', getVersion: '[function] function getVersion() { [native code] }', setVersion: '[function] function setVersion() { [native code] }', getName: '[function] function getName() { [native code] }', setName: '[function] function setName() { [native code] }', isReady: '[function] function isReady() { [native code] }', whenReady: '[function] function whenReady() { [native code] }', addRecentDocument: '[function] function addRecentDocument() { [native code] }', clearRecentDocuments: '[function] function clearRecentDocuments() { [native code] }', setAppUserModelId: '[function] function setAppUserModelId() { [native code] }', isDefaultProtocolClient: '[function] function isDefaultProtocolClient() { [native code] }', setAsDefaultProtocolClient: '[function] function setAsDefaultProtocolClient() { [native code] }', removeAsDefaultProtocolClient: '[function] function removeAsDefaultProtocolClient() { [native code] }', getApplicationInfoForProtocol: '[function] function getApplicationInfoForProtocol() { [native code] }', getApplicationNameForProtocol: '[function] function getApplicationNameForProtocol() { [native code] }', setBadgeCount: '[function] function setBadgeCount() { [native code] }', getBadgeCount: '[function] function getBadgeCount() { [native code] }', getLoginItemSettings: '[function] function getLoginItemSettings() { [native code] }', setLoginItemSettings: '[function] function setLoginItemSettings() { [native code] }', isEmojiPanelSupported: '[function] function isEmojiPanelSupported() { [native code] }', setAboutPanelOptions: '[function] function setAboutPanelOptions() { [native code] }', showAboutPanel: '[function] function showAboutPanel() { [native code] }', showEmojiPanel: '[function] function showEmojiPanel() { [native code] }', setUserTasks: '[function] function setUserTasks() { [native code] }', getJumpListSettings: '[function] function getJumpListSettings() { [native code] }', setJumpList: '[function] function setJumpList() { [native code] }', isPackaged: true, setAppPath: '[function] function setAppPath() { [native code] }', getAppPath: '[function] function getAppPath() { [native code] }', setPath: '[function] function setPath() { [native code] }', getPath: '[function] function getPath() { [native code] }', setAppLogsPath: '[function] function setAppLogsPath() { [native code] }', setDesktopName: '[function] function setDesktopName() { [native code] }', getLocale: '[function] function getLocale() { [native code] }', getLocaleCountryCode: '[function] function getLocaleCountryCode() { [native code] }', hasSingleInstanceLock: '[function] function hasSingleInstanceLock() { [native code] }', requestSingleInstanceLock: '[function] function requestSingleInstanceLock() { [native code] }', releaseSingleInstanceLock: '[function] function releaseSingleInstanceLock() { [native code] }', relaunch: '[function] function relaunch() { [native code] }', isAccessibilitySupportEnabled: '[function] function isAccessibilitySupportEnabled() { [native code] }', setAccessibilitySupportEnabled: '[function] function setAccessibilitySupportEnabled() { [native code] }', disableHardwareAcceleration: '[function] function disableHardwareAcceleration() { [native code] }', disableDomainBlockingFor3DAPIs: '[function] function disableDomainBlockingFor3DAPIs() { [native code] }', getFileIcon: '[function] function getFileIcon() { [native code] }', getAppMetrics: '[function] function getAppMetrics() { [native code] }', getGPUFeatureStatus: '[function] function getGPUFeatureStatus() { [native code] }', getGPUInfo: '[function] function getGPUInfo() { [native code] }', runningUnderARM64Translation: false, userAgentFallback: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) odc/4.1.0 Chrome/100.0.4896.160 Electron/18.3.15 Safari/537.36', configureHostResolver: '[function] function configureHostResolver() { [native code] }', enableSandbox: '[function] function enableSandbox() { [native code] }', commandLine: { hasSwitch: '[function] e=>i.hasSwitch(String(e))', getSwitchValue: '[function] e=>i.getSwitchValue(String(e))', appendSwitch: '[function] (e,t)=>i.appendSwitch(String(e),void 0===t?t:String(t))', appendArgument: '[function] e=>i.appendArgument(String(e))', removeSwitch: '[function] e=>i.removeSwitch(String(e))' }, _events: { 'certificate-error': '[function] (t,r,...o)=>{r.emit(e,t,...o)}', 'select-client-certificate': '[function] (t,r,...o)=>{r.emit(e,t,...o)}', quit: [ '[function] (e,t)=>{process.emit("exit",t)}', '[function] e=>{u.info("app quit:",e,"\\n\\n")}' ], 'window-all-closed': [ '[function] ()=>{1===a.listenerCount("window-all-closed")&&a.quit()}', '[function] ()=>{u.info("windows all closed"),"darwin"!==process.platform&&o.app.quit()}' ], ready: '[function] ()=>Z(this,void 0,void 0,(function*(){u.info("App Ready"),u.info("Screen: "+o.screen.getAllDisplays().map(e=>`width: ${e.size.width}, height: ${e.size.height}`).join(" | ")),"darwin"===process.platform&&(!function(e){const n=[{label:"Application",submenu:[{label:"About Application",selector:"orderFrontStandardAboutPanel:"},{type:"separator"},{label:"Quit",accelerator:"Command+Q",click:()=>{e.quit()}}]},{label:"Edit",submenu:[{label:"Undo",accelerator:"CmdOrCtrl+Z",selector:"undo:"},{label:"Redo",accelerator:"Shift+CmdOrCtrl+Z",selector:"redo:"},{type:"separator"},{label:"Cut",accelerator:"CmdOrCtrl+X",selector:"cut:"},{label:"Copy",accelerator:"CmdOrCtrl+C",selector:"copy:"},{label:"Paste",accelerator:"CmdOrCtrl+V",selector:"paste:"},{label:"Select All",accelerator:"CmdOrCtrl+A",selector:"selectAll:"}]}];o.Menu.setApplicationMenu(o.Menu.buildFromTemplate(n))}(o.app),o.app.setAboutPanelOptions({applicationName:d.appName,applicationVersion:d.version,copyright:d.copyright,version:d.version,credits:"A SQL Client for OceanBase"}),u.info("App Menu Ready")),ee(process.argv),e()}))', 'web-contents-created': [ '[function] function (e, contents) {\n' + ' var promise = contents.executeJavaScript(\n' + ` 'try {require("' + moduleName + '")} catch(e){}; void 0;'\n` + ' );\n' + '\n' + ' // Do nothing on error, just prevent Unhandled rejection\n' + " if (promise && typeof promise.catch === 'function') {\n" + ' promise.catch(function () {});\n' + ' }\n' + ' }', '[function] (_, contents) => {\n' + ' // SetImmediate is required for contents.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(contents);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (contents.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(contents);\n' + ' });\n' + ' }\n' + ' }', '[function] (_, contents) => {\n' + ' // SetImmediate is required for contents.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(contents);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (contents.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(contents);\n' + ' });\n' + ' }\n' + ' }' ], 'render-process-gone': [ '[function] (_, contents, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(contents, details);\n' + ' }\n' + ' }', '[function] (_, contents, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(contents, details);\n' + ' }\n' + ' }' ], 'child-process-gone': [ '[function] (_, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(details);\n' + ' }\n' + ' }', '[function] (_, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(details);\n' + ' }\n' + ' }' ], 'browser-window-created': '[function] (_, window) => {\n' + ' // SetImmediate is required for window.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(window);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (window.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(window);\n' + ' });\n' + ' }\n' + ' }', 'will-quit': [ '[function] e=>{if(u.info("app will quit:",e),!N.getInstance().isKilled){e.preventDefault(),function(){Z(this,void 0,void 0,(function*(){yield N.getInstance().stopServer(!0),o.app.quit()}))}()}}', '[function] (event) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {\n' + ' if (event.defaultPrevented) {\n' + ' return;\n' + ' }\n' + " utils_1.logger.log('[MainProcessSession] Exit Handler');\n" + ' // Stop the exit so we have time to send the session\n' + ' event.preventDefault();\n' + ' try {\n' + ' // End the session\n' + ' yield (0, sessions_1.endSession)();\n' + ' }\n' + ' catch (e) {\n' + ' // Ignore and log any errors which would prevent app exit\n' + " utils_1.logger.warn('[MainProcessSession] Error ending session:', e);\n" + ' }\n' + ' electron_1.app.exit();\n' + ' })' ], 'before-quit': '[function] () => {\n' + ' this._ensureExitHandlerLast();\n' + ' }', 'second-instance': '[function] (n,t)=>{u.info("app second-instance"),"win32"===process.platform&&(ee(t),"ready"==N.getInstance().status&&(u.info("app second-instance(open new window)"),e()))}', activate: '[function] ()=>{u.info("app activate"),0===o.BrowserWindow.getAllWindows().length&&(u.info("windows length is 0, create new window"),e())}', 'open-url': '[function] (n,t)=>Z(this,void 0,void 0,(function*(){u.info("app open-url"),t&&(u.info("app open-url(add params)"),T.addParams(j(t)));"ready"==N.getInstance().status&&(u.info("app open-url(ready and open new window)"),e())}))' }, _eventsCount: 14, emit: '[function] (event, ...args) => {\n' + ' var _a, _b;\n' + ' if (shouldCapture && shouldCapture(event)) {\n' + ' const breadcrumb = {\n' + " category: 'electron',\n" + ' message: `${category}.${event}`,\n' + ' timestamp: new Date().getTime() / 1000,\n' + " type: 'ui',\n" + ' };\n' + ' if (id) {\n' + ' breadcrumb.data = Object.assign({}, (0, renderers_1.getRendererProperties)(id));\n' + ' if (!this._options.captureWindowTitles && ((_a = breadcrumb.data) === null || _a === void 0 ? void 0 : _a.title)) {\n' + ' (_b = breadcrumb.data) === null || _b === void 0 ? true : delete _b.title;\n' + ' }\n' + ' }\n' + ' (0, core_1.addBreadcrumb)(breadcrumb);\n' + ' }\n' + ' return emit(event, ...args);\n' + ' }' } } [2023-05-05 10:44:59.985] [info] Before Kill Main Server(pid=186644) [2023-05-05 10:45:16.389] [info] Kill Main Server Success [2023-05-05 10:45:23.301] [info] force stop null [2023-05-05 10:45:23.302] [info] 停止进程完成 [2023-05-05 10:45:23.303] [info] app will quit: { preventDefault: '[function] function preventDefault() { [native code] }', sender: { quit: '[function] function quit() { [native code] }', exit: '[function] function exit() { [native code] }', focus: '[function] function focus() { [native code] }', getVersion: '[function] function getVersion() { [native code] }', setVersion: '[function] function setVersion() { [native code] }', getName: '[function] function getName() { [native code] }', setName: '[function] function setName() { [native code] }', isReady: '[function] function isReady() { [native code] }', whenReady: '[function] function whenReady() { [native code] }', addRecentDocument: '[function] function addRecentDocument() { [native code] }', clearRecentDocuments: '[function] function clearRecentDocuments() { [native code] }', setAppUserModelId: '[function] function setAppUserModelId() { [native code] }', isDefaultProtocolClient: '[function] function isDefaultProtocolClient() { [native code] }', setAsDefaultProtocolClient: '[function] function setAsDefaultProtocolClient() { [native code] }', removeAsDefaultProtocolClient: '[function] function removeAsDefaultProtocolClient() { [native code] }', getApplicationInfoForProtocol: '[function] function getApplicationInfoForProtocol() { [native code] }', getApplicationNameForProtocol: '[function] function getApplicationNameForProtocol() { [native code] }', setBadgeCount: '[function] function setBadgeCount() { [native code] }', getBadgeCount: '[function] function getBadgeCount() { [native code] }', getLoginItemSettings: '[function] function getLoginItemSettings() { [native code] }', setLoginItemSettings: '[function] function setLoginItemSettings() { [native code] }', isEmojiPanelSupported: '[function] function isEmojiPanelSupported() { [native code] }', setAboutPanelOptions: '[function] function setAboutPanelOptions() { [native code] }', showAboutPanel: '[function] function showAboutPanel() { [native code] }', showEmojiPanel: '[function] function showEmojiPanel() { [native code] }', setUserTasks: '[function] function setUserTasks() { [native code] }', getJumpListSettings: '[function] function getJumpListSettings() { [native code] }', setJumpList: '[function] function setJumpList() { [native code] }', isPackaged: true, setAppPath: '[function] function setAppPath() { [native code] }', getAppPath: '[function] function getAppPath() { [native code] }', setPath: '[function] function setPath() { [native code] }', getPath: '[function] function getPath() { [native code] }', setAppLogsPath: '[function] function setAppLogsPath() { [native code] }', setDesktopName: '[function] function setDesktopName() { [native code] }', getLocale: '[function] function getLocale() { [native code] }', getLocaleCountryCode: '[function] function getLocaleCountryCode() { [native code] }', hasSingleInstanceLock: '[function] function hasSingleInstanceLock() { [native code] }', requestSingleInstanceLock: '[function] function requestSingleInstanceLock() { [native code] }', releaseSingleInstanceLock: '[function] function releaseSingleInstanceLock() { [native code] }', relaunch: '[function] function relaunch() { [native code] }', isAccessibilitySupportEnabled: '[function] function isAccessibilitySupportEnabled() { [native code] }', setAccessibilitySupportEnabled: '[function] function setAccessibilitySupportEnabled() { [native code] }', disableHardwareAcceleration: '[function] function disableHardwareAcceleration() { [native code] }', disableDomainBlockingFor3DAPIs: '[function] function disableDomainBlockingFor3DAPIs() { [native code] }', getFileIcon: '[function] function getFileIcon() { [native code] }', getAppMetrics: '[function] function getAppMetrics() { [native code] }', getGPUFeatureStatus: '[function] function getGPUFeatureStatus() { [native code] }', getGPUInfo: '[function] function getGPUInfo() { [native code] }', runningUnderARM64Translation: false, userAgentFallback: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) odc/4.1.0 Chrome/100.0.4896.160 Electron/18.3.15 Safari/537.36', configureHostResolver: '[function] function configureHostResolver() { [native code] }', enableSandbox: '[function] function enableSandbox() { [native code] }', commandLine: { hasSwitch: '[function] e=>i.hasSwitch(String(e))', getSwitchValue: '[function] e=>i.getSwitchValue(String(e))', appendSwitch: '[function] (e,t)=>i.appendSwitch(String(e),void 0===t?t:String(t))', appendArgument: '[function] e=>i.appendArgument(String(e))', removeSwitch: '[function] e=>i.removeSwitch(String(e))' }, _events: { 'certificate-error': '[function] (t,r,...o)=>{r.emit(e,t,...o)}', 'select-client-certificate': '[function] (t,r,...o)=>{r.emit(e,t,...o)}', quit: [ '[function] (e,t)=>{process.emit("exit",t)}', '[function] e=>{u.info("app quit:",e,"\\n\\n")}' ], 'window-all-closed': [ '[function] ()=>{1===a.listenerCount("window-all-closed")&&a.quit()}', '[function] ()=>{u.info("windows all closed"),"darwin"!==process.platform&&o.app.quit()}' ], ready: '[function] ()=>Z(this,void 0,void 0,(function*(){u.info("App Ready"),u.info("Screen: "+o.screen.getAllDisplays().map(e=>`width: ${e.size.width}, height: ${e.size.height}`).join(" | ")),"darwin"===process.platform&&(!function(e){const n=[{label:"Application",submenu:[{label:"About Application",selector:"orderFrontStandardAboutPanel:"},{type:"separator"},{label:"Quit",accelerator:"Command+Q",click:()=>{e.quit()}}]},{label:"Edit",submenu:[{label:"Undo",accelerator:"CmdOrCtrl+Z",selector:"undo:"},{label:"Redo",accelerator:"Shift+CmdOrCtrl+Z",selector:"redo:"},{type:"separator"},{label:"Cut",accelerator:"CmdOrCtrl+X",selector:"cut:"},{label:"Copy",accelerator:"CmdOrCtrl+C",selector:"copy:"},{label:"Paste",accelerator:"CmdOrCtrl+V",selector:"paste:"},{label:"Select All",accelerator:"CmdOrCtrl+A",selector:"selectAll:"}]}];o.Menu.setApplicationMenu(o.Menu.buildFromTemplate(n))}(o.app),o.app.setAboutPanelOptions({applicationName:d.appName,applicationVersion:d.version,copyright:d.copyright,version:d.version,credits:"A SQL Client for OceanBase"}),u.info("App Menu Ready")),ee(process.argv),e()}))', 'web-contents-created': [ '[function] function (e, contents) {\n' + ' var promise = contents.executeJavaScript(\n' + ` 'try {require("' + moduleName + '")} catch(e){}; void 0;'\n` + ' );\n' + '\n' + ' // Do nothing on error, just prevent Unhandled rejection\n' + " if (promise && typeof promise.catch === 'function') {\n" + ' promise.catch(function () {});\n' + ' }\n' + ' }', '[function] (_, contents) => {\n' + ' // SetImmediate is required for contents.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(contents);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (contents.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(contents);\n' + ' });\n' + ' }\n' + ' }', '[function] (_, contents) => {\n' + ' // SetImmediate is required for contents.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(contents);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (contents.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(contents);\n' + ' });\n' + ' }\n' + ' }' ], 'render-process-gone': [ '[function] (_, contents, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(contents, details);\n' + ' }\n' + ' }', '[function] (_, contents, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(contents, details);\n' + ' }\n' + ' }' ], 'child-process-gone': [ '[function] (_, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(details);\n' + ' }\n' + ' }', '[function] (_, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(details);\n' + ' }\n' + ' }' ], 'browser-window-created': '[function] (_, window) => {\n' + ' // SetImmediate is required for window.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(window);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (window.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(window);\n' + ' });\n' + ' }\n' + ' }', 'will-quit': [ '[function] e=>{if(u.info("app will quit:",e),!N.getInstance().isKilled){e.preventDefault(),function(){Z(this,void 0,void 0,(function*(){yield N.getInstance().stopServer(!0),o.app.quit()}))}()}}', '[function] (event) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {\n' + ' if (event.defaultPrevented) {\n' + ' return;\n' + ' }\n' + " utils_1.logger.log('[MainProcessSession] Exit Handler');\n" + ' // Stop the exit so we have time to send the session\n' + ' event.preventDefault();\n' + ' try {\n' + ' // End the session\n' + ' yield (0, sessions_1.endSession)();\n' + ' }\n' + ' catch (e) {\n' + ' // Ignore and log any errors which would prevent app exit\n' + " utils_1.logger.warn('[MainProcessSession] Error ending session:', e);\n" + ' }\n' + ' electron_1.app.exit();\n' + ' })' ], 'before-quit': '[function] () => {\n' + ' this._ensureExitHandlerLast();\n' + ' }', 'second-instance': '[function] (n,t)=>{u.info("app second-instance"),"win32"===process.platform&&(ee(t),"ready"==N.getInstance().status&&(u.info("app second-instance(open new window)"),e()))}', activate: '[function] ()=>{u.info("app activate"),0===o.BrowserWindow.getAllWindows().length&&(u.info("windows length is 0, create new window"),e())}', 'open-url': '[function] (n,t)=>Z(this,void 0,void 0,(function*(){u.info("app open-url"),t&&(u.info("app open-url(add params)"),T.addParams(j(t)));"ready"==N.getInstance().status&&(u.info("app open-url(ready and open new window)"),e())}))' }, _eventsCount: 14, emit: '[function] (event, ...args) => {\n' + ' var _a, _b;\n' + ' if (shouldCapture && shouldCapture(event)) {\n' + ' const breadcrumb = {\n' + " category: 'electron',\n" + ' message: `${category}.${event}`,\n' + ' timestamp: new Date().getTime() / 1000,\n' + " type: 'ui',\n" + ' };\n' + ' if (id) {\n' + ' breadcrumb.data = Object.assign({}, (0, renderers_1.getRendererProperties)(id));\n' + ' if (!this._options.captureWindowTitles && ((_a = breadcrumb.data) === null || _a === void 0 ? void 0 : _a.title)) {\n' + ' (_b = breadcrumb.data) === null || _b === void 0 ? true : delete _b.title;\n' + ' }\n' + ' }\n' + ' (0, core_1.addBreadcrumb)(breadcrumb);\n' + ' }\n' + ' return emit(event, ...args);\n' + ' }' } } [2023-05-05 10:45:23.313] [info] app quit: { preventDefault: '[function] function preventDefault() { [native code] }', sender: { quit: '[function] function quit() { [native code] }', exit: '[function] function exit() { [native code] }', focus: '[function] function focus() { [native code] }', getVersion: '[function] function getVersion() { [native code] }', setVersion: '[function] function setVersion() { [native code] }', getName: '[function] function getName() { [native code] }', setName: '[function] function setName() { [native code] }', isReady: '[function] function isReady() { [native code] }', whenReady: '[function] function whenReady() { [native code] }', addRecentDocument: '[function] function addRecentDocument() { [native code] }', clearRecentDocuments: '[function] function clearRecentDocuments() { [native code] }', setAppUserModelId: '[function] function setAppUserModelId() { [native code] }', isDefaultProtocolClient: '[function] function isDefaultProtocolClient() { [native code] }', setAsDefaultProtocolClient: '[function] function setAsDefaultProtocolClient() { [native code] }', removeAsDefaultProtocolClient: '[function] function removeAsDefaultProtocolClient() { [native code] }', getApplicationInfoForProtocol: '[function] function getApplicationInfoForProtocol() { [native code] }', getApplicationNameForProtocol: '[function] function getApplicationNameForProtocol() { [native code] }', setBadgeCount: '[function] function setBadgeCount() { [native code] }', getBadgeCount: '[function] function getBadgeCount() { [native code] }', getLoginItemSettings: '[function] function getLoginItemSettings() { [native code] }', setLoginItemSettings: '[function] function setLoginItemSettings() { [native code] }', isEmojiPanelSupported: '[function] function isEmojiPanelSupported() { [native code] }', setAboutPanelOptions: '[function] function setAboutPanelOptions() { [native code] }', showAboutPanel: '[function] function showAboutPanel() { [native code] }', showEmojiPanel: '[function] function showEmojiPanel() { [native code] }', setUserTasks: '[function] function setUserTasks() { [native code] }', getJumpListSettings: '[function] function getJumpListSettings() { [native code] }', setJumpList: '[function] function setJumpList() { [native code] }', isPackaged: true, setAppPath: '[function] function setAppPath() { [native code] }', getAppPath: '[function] function getAppPath() { [native code] }', setPath: '[function] function setPath() { [native code] }', getPath: '[function] function getPath() { [native code] }', setAppLogsPath: '[function] function setAppLogsPath() { [native code] }', setDesktopName: '[function] function setDesktopName() { [native code] }', getLocale: '[function] function getLocale() { [native code] }', getLocaleCountryCode: '[function] function getLocaleCountryCode() { [native code] }', hasSingleInstanceLock: '[function] function hasSingleInstanceLock() { [native code] }', requestSingleInstanceLock: '[function] function requestSingleInstanceLock() { [native code] }', releaseSingleInstanceLock: '[function] function releaseSingleInstanceLock() { [native code] }', relaunch: '[function] function relaunch() { [native code] }', isAccessibilitySupportEnabled: '[function] function isAccessibilitySupportEnabled() { [native code] }', setAccessibilitySupportEnabled: '[function] function setAccessibilitySupportEnabled() { [native code] }', disableHardwareAcceleration: '[function] function disableHardwareAcceleration() { [native code] }', disableDomainBlockingFor3DAPIs: '[function] function disableDomainBlockingFor3DAPIs() { [native code] }', getFileIcon: '[function] function getFileIcon() { [native code] }', getAppMetrics: '[function] function getAppMetrics() { [native code] }', getGPUFeatureStatus: '[function] function getGPUFeatureStatus() { [native code] }', getGPUInfo: '[function] function getGPUInfo() { [native code] }', runningUnderARM64Translation: false, userAgentFallback: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) odc/4.1.0 Chrome/100.0.4896.160 Electron/18.3.15 Safari/537.36', configureHostResolver: '[function] function configureHostResolver() { [native code] }', enableSandbox: '[function] function enableSandbox() { [native code] }', commandLine: { hasSwitch: '[function] e=>i.hasSwitch(String(e))', getSwitchValue: '[function] e=>i.getSwitchValue(String(e))', appendSwitch: '[function] (e,t)=>i.appendSwitch(String(e),void 0===t?t:String(t))', appendArgument: '[function] e=>i.appendArgument(String(e))', removeSwitch: '[function] e=>i.removeSwitch(String(e))' }, _events: { 'certificate-error': '[function] (t,r,...o)=>{r.emit(e,t,...o)}', 'select-client-certificate': '[function] (t,r,...o)=>{r.emit(e,t,...o)}', quit: [ '[function] (e,t)=>{process.emit("exit",t)}', '[function] e=>{u.info("app quit:",e,"\\n\\n")}' ], 'window-all-closed': [ '[function] ()=>{1===a.listenerCount("window-all-closed")&&a.quit()}', '[function] ()=>{u.info("windows all closed"),"darwin"!==process.platform&&o.app.quit()}' ], ready: '[function] ()=>Z(this,void 0,void 0,(function*(){u.info("App Ready"),u.info("Screen: "+o.screen.getAllDisplays().map(e=>`width: ${e.size.width}, height: ${e.size.height}`).join(" | ")),"darwin"===process.platform&&(!function(e){const n=[{label:"Application",submenu:[{label:"About Application",selector:"orderFrontStandardAboutPanel:"},{type:"separator"},{label:"Quit",accelerator:"Command+Q",click:()=>{e.quit()}}]},{label:"Edit",submenu:[{label:"Undo",accelerator:"CmdOrCtrl+Z",selector:"undo:"},{label:"Redo",accelerator:"Shift+CmdOrCtrl+Z",selector:"redo:"},{type:"separator"},{label:"Cut",accelerator:"CmdOrCtrl+X",selector:"cut:"},{label:"Copy",accelerator:"CmdOrCtrl+C",selector:"copy:"},{label:"Paste",accelerator:"CmdOrCtrl+V",selector:"paste:"},{label:"Select All",accelerator:"CmdOrCtrl+A",selector:"selectAll:"}]}];o.Menu.setApplicationMenu(o.Menu.buildFromTemplate(n))}(o.app),o.app.setAboutPanelOptions({applicationName:d.appName,applicationVersion:d.version,copyright:d.copyright,version:d.version,credits:"A SQL Client for OceanBase"}),u.info("App Menu Ready")),ee(process.argv),e()}))', 'web-contents-created': [ '[function] function (e, contents) {\n' + ' var promise = contents.executeJavaScript(\n' + ` 'try {require("' + moduleName + '")} catch(e){}; void 0;'\n` + ' );\n' + '\n' + ' // Do nothing on error, just prevent Unhandled rejection\n' + " if (promise && typeof promise.catch === 'function') {\n" + ' promise.catch(function () {});\n' + ' }\n' + ' }', '[function] (_, contents) => {\n' + ' // SetImmediate is required for contents.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(contents);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (contents.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(contents);\n' + ' });\n' + ' }\n' + ' }', '[function] (_, contents) => {\n' + ' // SetImmediate is required for contents.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(contents);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (contents.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(contents);\n' + ' });\n' + ' }\n' + ' }' ], 'render-process-gone': [ '[function] (_, contents, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(contents, details);\n' + ' }\n' + ' }', '[function] (_, contents, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(contents, details);\n' + ' }\n' + ' }' ], 'child-process-gone': [ '[function] (_, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(details);\n' + ' }\n' + ' }', '[function] (_, details) => {\n' + ' if (reasons.includes(details.reason)) {\n' + ' callback(details);\n' + ' }\n' + ' }' ], 'browser-window-created': '[function] (_, window) => {\n' + ' // SetImmediate is required for window.id to be correct in older versions of Electron\n' + ' // https://github.com/electron/electron/issues/12036\n' + ' if (version.major >= 3) {\n' + ' callback(window);\n' + ' }\n' + ' else {\n' + ' setImmediate(() => {\n' + ' if (window.isDestroyed()) {\n' + ' return;\n' + ' }\n' + ' callback(window);\n' + ' });\n' + ' }\n' + ' }', 'will-quit': [ '[function] e=>{if(u.info("app will quit:",e),!N.getInstance().isKilled){e.preventDefault(),function(){Z(this,void 0,void 0,(function*(){yield N.getInstance().stopServer(!0),o.app.quit()}))}()}}', '[function] (event) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {\n' + ' if (event.defaultPrevented) {\n' + ' return;\n' + ' }\n' + " utils_1.logger.log('[MainProcessSession] Exit Handler');\n" + ' // Stop the exit so we have time to send the session\n' + ' event.preventDefault();\n' + ' try {\n' + ' // End the session\n' + ' yield (0, sessions_1.endSession)();\n' + ' }\n' + ' catch (e) {\n' + ' // Ignore and log any errors which would prevent app exit\n' + " utils_1.logger.warn('[MainProcessSession] Error ending session:', e);\n" + ' }\n' + ' electron_1.app.exit();\n' + ' })' ], 'before-quit': '[function] () => {\n' + ' this._ensureExitHandlerLast();\n' + ' }', 'second-instance': '[function] (n,t)=>{u.info("app second-instance"),"win32"===process.platform&&(ee(t),"ready"==N.getInstance().status&&(u.info("app second-instance(open new window)"),e()))}', activate: '[function] ()=>{u.info("app activate"),0===o.BrowserWindow.getAllWindows().length&&(u.info("windows length is 0, create new window"),e())}', 'open-url': '[function] (n,t)=>Z(this,void 0,void 0,(function*(){u.info("app open-url"),t&&(u.info("app open-url(add params)"),T.addParams(j(t)));"ready"==N.getInstance().status&&(u.info("app open-url(ready and open new window)"),e())}))' }, _eventsCount: 14, emit: '[function] (event, ...args) => {\n' + ' var _a, _b;\n' + ' if (shouldCapture && shouldCapture(event)) {\n' + ' const breadcrumb = {\n' + " category: 'electron',\n" + ' message: `${category}.${event}`,\n' + ' timestamp: new Date().getTime() / 1000,\n' + " type: 'ui',\n" + ' };\n' + ' if (id) {\n' + ' breadcrumb.data = Object.assign({}, (0, renderers_1.getRendererProperties)(id));\n' + ' if (!this._options.captureWindowTitles && ((_a = breadcrumb.data) === null || _a === void 0 ? void 0 : _a.title)) {\n' + ' (_b = breadcrumb.data) === null || _b === void 0 ? true : delete _b.title;\n' + ' }\n' + ' }\n' + ' (0, core_1.addBreadcrumb)(breadcrumb);\n' + ' }\n' + ' return emit(event, ...args);\n' + ' }' } } [2023-05-05 10:45:26.798] [info] getLockFinished [2023-05-05 10:45:26.804] [info] APP Start [2023-05-05 10:45:26.805] [info] Mem: { "total": 33553912, "free": 21379416, "swapTotal": 33552012, "swapFree": 19869324 } [2023-05-05 10:45:26.826] [info] OS: Windows_NT platform: win32 arch: x64 os_release: 6.1.7601 uptime: 27365490 mem: 34359205888 cpu: [{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2190059171,"nice":0,"sys":552555734,"idle":24624605203,"irq":2084953}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2789454578,"nice":0,"sys":98870640,"idle":24478894609,"irq":2168328}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":3369075171,"nice":0,"sys":176803234,"idle":23821341406,"irq":2571703}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2357254046,"nice":0,"sys":88204843,"idle":24921760906,"irq":1467500}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2702884187,"nice":0,"sys":122252593,"idle":24542082984,"irq":987343}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":3130189250,"nice":0,"sys":80500406,"idle":24156530093,"irq":1579312}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":2600174796,"nice":0,"sys":103486031,"idle":24663558906,"irq":1513218}},{"model":"Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz","speed":2500,"times":{"user":3292488203,"nice":0,"sys":246894187,"idle":23827837296,"irq":10074968}}] version: 4.1.0 [2023-05-05 10:45:26.826] [info] app get lock success [2023-05-05 10:45:26.900] [info] App Ready [2023-05-05 10:45:26.901] [info] Screen: width: 1920, height: 1080 [2023-05-05 10:45:26.903] [info] create new main web [2023-05-05 10:45:26.928] [info] checking java version [2023-05-05 10:45:26.931] [info] 发现内置 JRE ,跳过版本检查 [2023-05-05 10:45:26.970] [info] **realport: 8989** [2023-05-05 10:45:26.971] [info] resourcesPath: D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources [2023-05-05 10:45:26.974] [info] renderer path: file:D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\renderer\ [2023-05-05 10:45:26.975] [info] obPath: D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\libraries\obclient\obclient.exe [2023-05-05 10:45:30.513] [info] system env ALLUSERSPROFILE APPCODE_VM_OPTIONS APPDATA CHROME_CRASHPAD_PIPE_NAME CLIENTNAME CLION_VM_OPTIONS CommonProgramFiles CommonProgramFiles(x86) CommonProgramW6432 COMPUTERNAME ComSpec DATAGRIP_VM_OPTIONS DATASPELL_VM_OPTIONS FP_NO_HOST_CHECK GATEWAY_VM_OPTIONS GOLAND_VM_OPTIONS HOMEDRIVE HOMEPATH IDEA_VM_OPTIONS JAVA_HOME JETBRAINSCLIENT_VM_OPTIONS JETBRAINS_CLIENT_VM_OPTIONS LOCALAPPDATA LOGONSERVER MAVEN_HOME NLS_LANG NUMBER_OF_PROCESSORS NVM_HOME NVM_SYMLINK ORIGINAL_XDG_CURRENT_DESKTOP OS Path PATHEXT PHPSTORM_VM_OPTIONS PROCESSOR_ARCHITECTURE PROCESSOR_IDENTIFIER PROCESSOR_LEVEL PROCESSOR_REVISION ProgramData ProgramFiles ProgramFiles(x86) ProgramW6432 PSModulePath PUBLIC PYCHARM_VM_OPTIONS RIDER_VM_OPTIONS RUBYMINE_VM_OPTIONS SESSIONNAME SystemDrive SystemRoot TEMP TMP USERDOMAIN USERDOMAIN_ROAMINGPROFILE USERNAME USERPROFILE WEBIDE_VM_OPTIONS WEBSTORM_VM_OPTIONS windir windows_tracing_flags windows_tracing_logfile [2023-05-05 10:45:30.514] [info] runJavaProcess jar: D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\libraries\java\odc.jar cwd: C:\Users\cyq\AppData\Roaming\odc env: { "ODC_TASK_TYPE": null, "ODC_BEFORE_ACTION": null, "ODC_TASK_ACTION": null, "ODC_AFTER_ACTION": null, "ODC_WEB_STATIC_LOCATION": "file:D:\\Program Files\\OceanBase Developer Center\\OceanBase Developer Center\\resources\\renderer\\", "ALLUSERSPROFILE": "C:\\ProgramData", "APPCODE_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\appcode.vmoptions", "APPDATA": "C:\\Users\\cyq\\AppData\\Roaming", "CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\crashpad_154144_DOCDMJKXIPCBOXJX", "CLIENTNAME": "CYQ", "CLION_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\clion.vmoptions", "CommonProgramFiles": "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", "CommonProgramW6432": "C:\\Program Files\\Common Files", "COMPUTERNAME": "iZ8tgfkhucdwnlZ", "ComSpec": "C:\\Windows\\system32\\cmd.exe", "DATAGRIP_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\datagrip.vmoptions", "DATASPELL_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\dataspell.vmoptions", "FP_NO_HOST_CHECK": "NO", "GATEWAY_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\gateway.vmoptions", "GOLAND_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\goland.vmoptions", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\cyq", "IDEA_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\idea.vmoptions", "JAVA_HOME": "D:\\Program Files\\OceanBase Developer Center\\OceanBase Developer Center\\resources\\libraries\\jre", "JETBRAINSCLIENT_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\jetbrainsclient.vmoptions", "JETBRAINS_CLIENT_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\jetbrains_client.vmoptions", "LOCALAPPDATA": "C:\\Users\\cyq\\AppData\\Local", "LOGONSERVER": "\\\\iZ8tgfkhucdwnlZ", "MAVEN_HOME": "D:\\apache-maven-3.6.1", "NLS_LANG": "AMERICAN_AMERICA.ZHS16GBK", "NUMBER_OF_PROCESSORS": "8", "NVM_HOME": "C:\\Users\\Administrator\\AppData\\Roaming\\nvm", "NVM_SYMLINK": "C:\\Program Files\\nodejs", "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined", "OS": "Windows_NT", "Path": "D:\\app\\Administrator\\product\\11.2.0\\client_1;D:\\app\\Administrator\\product\\11.2.0\\client_1\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;D:\\zjyy_dev\\java1.8.0_161\\bin;D:\\Program Files\\Microsoft VS Code\\bin;D:\\Program Files\\Git\\cmd;D:\\apache-maven-3.6.1\\bin;C:\\Program Files (x86)\\Yarn\\bin\\;D:\\zjyy_dev\\wcjused;D:\\zjyy_dev\\wcjused\\Scripts;%NVM_HOME%;%NVM_SYMLINK%", "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "PHPSTORM_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\phpstorm.vmoptions", "PROCESSOR_ARCHITECTURE": "AMD64", "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 85 Stepping 4, GenuineIntel", "PROCESSOR_LEVEL": "6", "PROCESSOR_REVISION": "5504", "ProgramData": "C:\\ProgramData", "ProgramFiles": "C:\\Program Files", "ProgramFiles(x86)": "C:\\Program Files (x86)", "ProgramW6432": "C:\\Program Files", "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC": "C:\\Users\\Public", "PYCHARM_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\pycharm.vmoptions", "RIDER_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\rider.vmoptions", "RUBYMINE_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\rubymine.vmoptions", "SESSIONNAME": "RDP-Tcp#0", "SystemDrive": "C:", "SystemRoot": "C:\\Windows", "TEMP": "C:\\Users\\cyq\\AppData\\Local\\Temp\\3", "TMP": "C:\\Users\\cyq\\AppData\\Local\\Temp\\3", "USERDOMAIN": "IZ8TGFKHUCDWNLZ", "USERDOMAIN_ROAMINGPROFILE": "IZ8TGFKHUCDWNLZ", "USERNAME": "cyq", "USERPROFILE": "C:\\Users\\cyq", "WEBIDE_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\webide.vmoptions", "WEBSTORM_VM_OPTIONS": "D:\\zjyy_dev\\windows\\2022\\ja-netfilter-all\\vmoptions\\webstorm.vmoptions", "windir": "C:\\Windows", "windows_tracing_flags": "3", "windows_tracing_logfile": "C:\\BVTBin\\Tests\\installpackage\\csilogfile.log", "server.port": "8989", "ODC_PROFILE_MODE": "clientMode", "obclient.work.dir": "C:\\Users\\cyq\\AppData\\Roaming\\odc\\data", "file.storage.dir": "C:\\Users\\cyq\\AppData\\Roaming\\odc\\data", "DB_PATH": "C:\\Users\\cyq\\AppData\\Roaming\\odc", "obclient.file.path": "D:\\Program Files\\OceanBase Developer Center\\OceanBase Developer Center\\resources\\libraries\\obclient\\obclient.exe" } [2023-05-05 10:45:30.515] [info] fetch server status count(1) [2023-05-05 10:45:31.524] [info] check server with resp err [2023-05-05 10:45:31.526] [info] check server with false [2023-05-05 10:45:35.526] [info] fetch server status count(2) [2023-05-05 10:45:36.532] [info] check server with resp err [2023-05-05 10:45:36.533] [info] check server with false [2023-05-05 10:45:40.536] [info] fetch server status count(3) [2023-05-05 10:45:41.541] [info] check server with resp err [2023-05-05 10:45:41.542] [info] check server with false [2023-05-05 10:45:45.544] [info] fetch server status count(4) [2023-05-05 10:45:46.550] [info] check server with resp err [2023-05-05 10:45:46.551] [info] check server with false [2023-05-05 10:45:50.552] [info] fetch server status count(5) [2023-05-05 10:45:51.593] [info] check server with resp err [2023-05-05 10:45:51.594] [info] check server with false [2023-05-05 10:45:55.594] [info] fetch server status count(6) [2023-05-05 10:45:56.603] [info] check server with resp err [2023-05-05 10:45:56.604] [info] check server with false [2023-05-05 10:46:00.604] [info] fetch server status count(7) [2023-05-05 10:46:01.652] [info] check server with resp err [2023-05-05 10:46:01.653] [info] check server with false [2023-05-05 10:46:05.654] [info] fetch server status count(8) [2023-05-05 10:46:06.715] [info] check server with resp err [2023-05-05 10:46:06.716] [info] check server with false [2023-05-05 10:46:10.717] [info] fetch server status count(9) [2023-05-05 10:46:12.123] [info] check server api status: 200 [2023-05-05 10:46:12.129] [info] Server startup time: 41.614 [2023-05-05 10:46:12.130] [info] Main Server Start Success(port=8989, path=D:\Program Files\OceanBase Developer Center\OceanBase Developer Center\resources\libraries\java\odc.jar)!!!!! [2023-05-05 10:46:12.131] [info] create new main web(server start success) [2023-05-05 10:46:12.132] [info] renderer url: http://localhost:8989/index.html [2023-05-05 10:46:12.138] [info] create new main web(window opened) [2023-05-05 11:07:50.218] [warn] webcontent close, url: http://localhost:8989/index.html#/odc/index/connection [2023-05-05 11:07:50.220] [warn] { preventDefault: '[function] function preventDefault() { [native code] }', sender: { setBounds: '[function] (e,...r)=>{e={...this.getBounds(),...e},t.call(this,e,...r)}', _events: { blur: '[function] t=>{e.emit("browser-window-blur",t,this)}', focus: '[function] t=>{e.emit("browser-window-focus",t,this)}', show: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', hide: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', minimize: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', maximize: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', restore: '[function] ()=>{const e=this.isVisible()&&!this.isMinimized();if(n!==e){n=e;const t=n?"visible":"hidden";this.webContents.emit("-window-visibility-change",t)}}', unresponsive: '[function] e=>{u.error("webcontent unresponsive, url: "+n.webContents.getURL()),u.error(e)}', close: '[function] e=>{u.warn("webcontent close, url: "+n.webContents.getURL()),u.warn(e)}', closed: '[function] e=>{u.warn("webcontent closed")}', 'session-end': '[function] e=>{u.warn("webcontent session-end "),u.warn(e)}' }, _eventsCount: 11, emit: '[function] (event, ...args) => {\n' + ' var _a, _b;\n' + ' if (shouldCapture && shouldCapture(event)) {\n' + ' const breadcrumb = {\n' + " category: 'electron',\n" + ' message: `${category}.${event}`,\n' + ' timestamp: new Date().getTime() / 1000,\n' + " type: 'ui',\n" + ' };\n' + ' if (id) {\n' + ' breadcrumb.data = Object.assign({}, (0, renderers_1.getRendererProperties)(id));\n' + ' if (!this._options.captureWindowTitles && ((_a = breadcrumb.data) === null || _a === void 0 ? void 0 : _a.title)) {\n' + ' (_b = breadcrumb.data) === null || _b === void 0 ? true : delete _b.title;\n' + ' }\n' + ' }\n' + ' (0, core_1.addBreadcrumb)(breadcrumb);\n' + ' }\n' + ' return emit(event, ...args);\n' + ' }', devToolsWebContents: null } } [2023-05-05 11:07:50.234] [warn] webcontent closed