software-mansion / react-native-ide

VSCode extension that turns your editor into a fully fledged IDE for React Native and Expo.
https://ide.swmansion.com
Other
845 stars 28 forks source link

0.0.17 - Debug console hanging #519

Open danielgolan opened 2 weeks ago

danielgolan commented 2 weeks ago

Description After the update to 0.0.17 i notice there is a lot more hanging of the console logs in the Debug Console, clean rebuild often solves this. Same with "right click to inspect" which seems to be less stable. Using npx expo run:ios and the IOS simulator complets successfully, so no issues with the build or environment.

Environment

danielgolan commented 2 weeks ago

bilde

danielgolan commented 2 weeks ago

Added output from React Native IDE:

2024-08-30 10:26:02.623 [info] Metro {"buildID":"8e","type":"bundle_build_done"} 2024-08-30 10:26:02.886 [info] Metro {"buildID":"8f","bundleDetails":{"bundleType":"map","customResolverOptions":{},"customTransformOptions":{"engine":"hermes","bytecode":"true","routerRoot":"app"},"dev":true,"entryFile":"/Users/danielbogolan/Documents/Campus/CampusApp/index.js","minify":false,"platform":"ios"},"isPrefetch":false,"type":"bundle_build_started"} 2024-08-30 10:26:02.925 [info] Devtools client connected 2024-08-30 10:26:03.351 [error] Unhandled promise rejection Start offset -1601256248 is outside the bounds of the buffer 2024-08-30 10:26:03.484 [error] Unhandled promise rejection Start offset -1589794096 is outside the bounds of the buffer 2024-08-30 10:26:03.716 [error] Unhandled promise rejection Start offset -1578331944 is outside the bounds of the buffer 2024-08-30 10:26:03.716 [error] Unhandled promise rejection Start offset -1566869792 is outside the bounds of the buffer 2024-08-30 10:26:03.874 [error] Unhandled promise rejection Start offset -1555407640 is outside the bounds of the buffer 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Running \"main\" with {\"rootTag\":191,\"initialProps\":{\"concurrentRoot\":false}}","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","17388","22"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Loading react-native-worklets-core...","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","372694","13"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Worklets loaded successfully","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","372704","19"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Development setup","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","438439","17"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["ScreenView - Screen Name","ON_InitalScreen","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"buildID":"8f","type":"bundle_build_done"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Default case hit, setting topColor to white.","Onboarding","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Norwegian","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Device is not a physical device, no notificaions will be sent","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["UID: W6YDzLvIj4VZMDhKP9HJQXFez2D3","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Fetching and syncing user data","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Checking subscription status","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:03.874 [info] Metro {"type":"client_log","level":"log","data":["Default case hit, setting topColor to white.","Onboarding","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:04.777 [error] Unhandled promise rejection Start offset -1543945488 is outside the bounds of the buffer 2024-08-30 10:26:04.777 [error] Unhandled promise rejection Start offset -1532483336 is outside the bounds of the buffer 2024-08-30 10:26:04.777 [error] Unhandled promise rejection Start offset -1521021184 is outside the bounds of the buffer 2024-08-30 10:26:04.777 [error] Unhandled promise rejection Start offset -1509559032 is outside the bounds of the buffer 2024-08-30 10:26:04.777 [error] Unhandled promise rejection Start offset -1498096880 is outside the bounds of the buffer 2024-08-30 10:26:04.777 [error] Unhandled promise rejection Start offset -1486634728 is outside the bounds of the buffer 2024-08-30 10:26:04.777 [error] Unhandled promise rejection Start offset -1475172576 is outside the bounds of the buffer 2024-08-30 10:26:05.155 [error] Unhandled promise rejection Start offset -1463710424 is outside the bounds of the buffer 2024-08-30 10:26:05.155 [error] Unhandled promise rejection Start offset -1452248272 is outside the bounds of the buffer 2024-08-30 10:26:05.155 [error] Unhandled promise rejection Start offset -1440786120 is outside the bounds of the buffer 2024-08-30 10:26:05.155 [info] Metro {"type":"client_log","level":"log","data":["Norwegian","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:05.155 [info] Metro {"type":"client_log","level":"log","data":["User has already replied to weekly reminders","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:05.155 [info] Metro {"type":"client_log","level":"log","data":["UID: W6YDzLvIj4VZMDhKP9HJQXFez2D3","http://localhost:50123/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","265936","26"],"mode":"BRIDGE"} 2024-08-30 10:26:05.690 [info] App ready 2024-08-30 10:26:06.224 [error] Unhandled promise rejection Start offset -1429323968 is outside the bounds of the buffer

danielgolan commented 3 days ago

After the 0.0.18 update the same issue occurs, but the error seems to have changed to: Unhandled promise rejection memory access out of bounds:

2024-09-12 11:38:59.592 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:38:59.592 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:38:59.592 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:38:59.592 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:38:59.592 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:39:00.210 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:39:00.222 [info] Metro {"type":"client_log","level":"log","data":["undefined","http://localhost:51519/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","266977","26"],"mode":"BRIDGE"} 2024-09-12 11:39:00.223 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:39:00.233 [info] Metro {"type":"client_log","level":"log","data":["undefined","http://localhost:51519/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","266977","26"],"mode":"BRIDGE"} 2024-09-12 11:39:00.234 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:39:00.244 [info] Metro {"type":"client_log","level":"log","data":["undefined","http://localhost:51519/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","266977","26"],"mode":"BRIDGE"} 2024-09-12 11:39:00.244 [error] Unhandled promise rejection memory access out of bounds 2024-09-12 11:39:00.253 [info] Metro {"type":"client_log","level":"log","data":["undefined","http://localhost:51519/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app","266977","26"],"mode":"BRIDGE"} 2024-09-12 11:39:00.253 [error] Unhandled promise rejection memory access out of bounds

Any update here?