Giter Club home page Giter Club logo

Comments (8)

EzioLi01 avatar EzioLi01 commented on May 27, 2024 1

@rivaros This should be fixed on master and will release on next version. Could you please try on nightly version to see if it's working? It needs to uninstall prod verison extension. Thank you!

from vscode-react-native.

EzioLi01 avatar EzioLi01 commented on May 27, 2024 1

@rivaros React-native-tools is depended on js-debug, but actually you can still use js-debug prod version, it not impacted common scenarios for react-native-tools normally. Sometimes we have some issues caused by js-debug issue, in that case I would like to recommend user trying to use js-debug-nightly. Nightly version will be published every night when project have any updates, it will include the latest changes for project.

from vscode-react-native.

EzioLi01 avatar EzioLi01 commented on May 27, 2024

Hey @rivaros , thanks for reaching us. I have tried on rn 0.72.6 but no luck to repro this.
Debugger will be attached after application is built completely. It means we cannot debug it when app is initializing and rendering.
I suggest that you can add a sample button and set onPress event to it just like below, if breakpoint can be triggered well, I think it should not be an issue. Thank you!

Screenshot 2023-11-13 at 13 57 13

from vscode-react-native.

rivaros avatar rivaros commented on May 27, 2024

@EzioLi01 Thank you for reaching back. So you mean that useEffect hooks cannot be caught with Hermes? It runs after render.

Also, tried the button approach, and indeed it seems to want catch the breakpoint, but then I get a crash.

Screen.Recording.2023-11-13.at.12.07.01.PM.mp4

from vscode-react-native.

rivaros avatar rivaros commented on May 27, 2024
Thread 8 Crashed:: com.facebook.react.JavaScript
0   libsystem_kernel.dylib        	       0x106b14fe8 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x106a2b12c pthread_kill + 256
2   libsystem_c.dylib             	       0x1801375ec abort + 104
3   libsystem_c.dylib             	       0x180136a6c __assert_rtn + 268
4   rn0726                        	       0x104c26050 facebook::jsi::Value::getObject(facebook::jsi::Runtime&) const & + 80
5   rn0726                        	       0x104d386ec facebook::hermes::inspector::chrome::(anonymous namespace)::CallFunctionOnRunner::getJsThis(facebook::jsi::Runtime&, facebook::hermes::inspector::chrome::RemoteObjectsTable&, facebook::jsi::Value) const + 552
6   rn0726                        	       0x104d381b4 facebook::hermes::inspector::chrome::(anonymous namespace)::CallFunctionOnRunner::operator()(facebook::jsi::Runtime&, facebook::hermes::inspector::chrome::RemoteObjectsTable&, facebook::hermes::debugger::EvalResult const&) + 352
7   rn0726                        	       0x104d37f60 facebook::hermes::inspector::chrome::Connection::Impl::handle(facebook::hermes::inspector::chrome::message::runtime::CallFunctionOnRequest const&)::$_17::operator()(facebook::hermes::debugger::EvalResult const&) + 140
8   rn0726                        	       0x104d37d78 void folly::detail::function::FunctionTraits<void (facebook::hermes::debugger::EvalResult const&)>::callBig<facebook::hermes::inspector::chrome::Connection::Impl::handle(facebook::hermes::inspector::chrome::message::runtime::CallFunctionOnRequest const&)::$_17>(facebook::hermes::debugger::EvalResult const&, folly::detail::function::Data&) + 44
9   rn0726                        	       0x104db2e60 folly::detail::function::FunctionTraits<void (facebook::hermes::debugger::EvalResult const&)>::operator()(facebook::hermes::debugger::EvalResult const&) + 48
10  rn0726                        	       0x104dab4ec std::__1::optional<facebook::hermes::inspector::UserCallbackException> facebook::hermes::inspector::runUserCallback<folly::Function<void (facebook::hermes::debugger::EvalResult const&)>, facebook::hermes::debugger::EvalResult>(folly::Function<void (facebook::hermes::debugger::EvalResult const&)>&, facebook::hermes::debugger::EvalResult&&) + 40
11  rn0726                        	       0x104dabde0 facebook::hermes::inspector::InspectorState::Paused::didPause(std::__1::unique_lock<std::__1::mutex>&) + 228
12  rn0726                        	       0x104d92158 facebook::hermes::inspector::Inspector::didPause(facebook::hermes::debugger::Debugger&) + 88
13  hermes                        	       0x106cb1820 0x106c98000 + 104480
14  hermes                        	       0x106db9b64 0x106c98000 + 1186660
15  hermes                        	       0x106db8ed8 0x106c98000 + 1183448
16  hermes                        	       0x106cdf028 0x106c98000 + 290856
17  hermes                        	       0x106cddb60 0x106c98000 + 285536
18  hermes                        	       0x106cbf5a0 0x106c98000 + 161184
19  hermes                        	       0x106cbddd8 0x106c98000 + 155096
20  hermes                        	       0x106d8cb98 0x106c98000 + 1002392
21  hermes                        	       0x106cbf2f8 0x106c98000 + 160504
22  hermes                        	       0x106cde438 0x106c98000 + 287800
23  hermes                        	       0x106cddb60 0x106c98000 + 285536
24  hermes                        	       0x106cbf5a0 0x106c98000 + 161184
25  hermes                        	       0x106cbddd8 0x106c98000 + 155096
26  hermes                        	       0x106d8cb98 0x106c98000 + 1002392
27  hermes                        	       0x106cbf2f8 0x106c98000 + 160504
28  hermes                        	       0x106cde438 0x106c98000 + 287800
29  hermes                        	       0x106cddb60 0x106c98000 + 285536
30  hermes                        	       0x106cbf5a0 0x106c98000 + 161184
31  hermes                        	       0x106cbddd8 0x106c98000 + 155096
32  hermes                        	       0x106d8cb98 0x106c98000 + 1002392
33  hermes                        	       0x106cbf2f8 0x106c98000 + 160504
34  hermes                        	       0x106cde438 0x106c98000 + 287800
35  hermes                        	       0x106cddb60 0x106c98000 + 285536
36  hermes                        	       0x106cbf5a0 0x106c98000 + 161184
37  hermes                        	       0x106cbd810 0x106c98000 + 153616
38  hermes                        	       0x106d48878 0x106c98000 + 723064
39  hermes                        	       0x106cbf2f8 0x106c98000 + 160504
40  hermes                        	       0x106cde438 0x106c98000 + 287800
41  hermes                        	       0x106cddb60 0x106c98000 + 285536
42  hermes                        	       0x106cbf5a0 0x106c98000 + 161184
43  hermes                        	       0x106cbddd8 0x106c98000 + 155096
44  hermes                        	       0x106d8cb98 0x106c98000 + 1002392
45  hermes                        	       0x106cbf2f8 0x106c98000 + 160504
46  hermes                        	       0x106cde438 0x106c98000 + 287800
47  hermes                        	       0x106cddb60 0x106c98000 + 285536
48  hermes                        	       0x106cbf5a0 0x106c98000 + 161184
49  hermes                        	       0x106cbed34 0x106c98000 + 159028
50  hermes                        	       0x106ca44b8 0x106c98000 + 50360
51  rn0726                        	       0x104d869c4 facebook::jsi::RuntimeDecorator<facebook::jsi::Runtime, facebook::jsi::Runtime>::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 76
52  rn0726                        	       0x104d8500c facebook::jsi::WithRuntimeDecorator<facebook::react::(anonymous namespace)::ReentrancyCheck, facebook::jsi::Runtime, facebook::jsi::Runtime>::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 88
53  rn0726                        	       0x104c2a36c facebook::jsi::Function::call(facebook::jsi::Runtime&, facebook::jsi::Value const*, unsigned long) const + 100
54  rn0726                        	       0x104c31214 facebook::jsi::Function::call(facebook::jsi::Runtime&, std::initializer_list<facebook::jsi::Value>) const + 112
55  rn0726                        	       0x104e275f4 facebook::jsi::Value facebook::jsi::Function::call<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, facebook::jsi::Value>(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, facebook::jsi::Value&&) const + 228
56  rn0726                        	       0x104e274a0 facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4::operator()() const + 140
57  rn0726                        	       0x104e27408 decltype(std::declval<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4&>()()) std::__1::__invoke[abi:v160006]<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4&>(facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4&) + 24
58  rn0726                        	       0x104e273c0 void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4&>(facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4&) + 24
59  rn0726                        	       0x104e2739c std::__1::__function::__alloc_func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4, std::__1::allocator<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4>, void ()>::operator()[abi:v160006]() + 28
60  rn0726                        	       0x104e2639c std::__1::__function::__func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4, std::__1::allocator<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4>, void ()>::operator()() + 28
61  rn0726                        	       0x10488b6a8 std::__1::__function::__value_func<void ()>::operator()[abi:v160006]() const + 68
62  rn0726                        	       0x10486a474 std::__1::function<void ()>::operator()() const + 24
63  rn0726                        	       0x104b10080 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>) + 28
64  rn0726                        	       0x104b11d00 decltype(std::declval<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>()(std::declval<std::__1::function<void ()> const&>(), std::declval<std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>>())) std::__1::__invoke[abi:v160006]<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>>(void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>&&) + 92
65  rn0726                        	       0x104b11c74 void std::__1::__invoke_void_return_wrapper<void, true>::__call<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>>(void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>&&) + 40
66  rn0726                        	       0x104b11c40 std::__1::__function::__alloc_func<void (*)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::allocator<void (*)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>, void (std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>::operator()[abi:v160006](std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>&&) + 44
67  rn0726                        	       0x104b10a84 std::__1::__function::__func<void (*)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::allocator<void (*)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>, void (std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>::operator()(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>&&) + 44
68  rn0726                        	       0x104e25a74 std::__1::__function::__value_func<void (std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>::operator()[abi:v160006](std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>&&) const + 84
69  rn0726                        	       0x104e19814 std::__1::function<void (std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>::operator()(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>) const + 40
70  rn0726                        	       0x104e19500 facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&) + 292
71  rn0726                        	       0x104ceed48 facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2::operator()(facebook::react::JSExecutor*) const + 636
72  rn0726                        	       0x104ceeac0 decltype(std::declval<facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2&>()(std::declval<facebook::react::JSExecutor*>())) std::__1::__invoke[abi:v160006]<facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2&, facebook::react::JSExecutor*>(facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2&, facebook::react::JSExecutor*&&) + 36
73  rn0726                        	       0x104ceea6c void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2&, facebook::react::JSExecutor*>(facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2&, facebook::react::JSExecutor*&&) + 32
74  rn0726                        	       0x104ceea40 std::__1::__function::__alloc_func<facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2, std::__1::allocator<facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2>, void (facebook::react::JSExecutor*)>::operator()[abi:v160006](facebook::react::JSExecutor*&&) + 36
75  rn0726                        	       0x104ced734 std::__1::__function::__func<facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2, std::__1::allocator<facebook::react::NativeToJsBridge::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, folly::dynamic&&)::$_2>, void (facebook::react::JSExecutor*)>::operator()(facebook::react::JSExecutor*&&) + 36
76  rn0726                        	       0x104cf98ec std::__1::__function::__value_func<void (facebook::react::JSExecutor*)>::operator()[abi:v160006](facebook::react::JSExecutor*&&) const + 76
77  rn0726                        	       0x104cf986c std::__1::function<void (facebook::react::JSExecutor*)>::operator()(facebook::react::JSExecutor*) const + 36
78  rn0726                        	       0x104cf9838 facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8::operator()() const + 92
79  rn0726                        	       0x104cf97d0 decltype(std::declval<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8&>()()) std::__1::__invoke[abi:v160006]<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8&>(facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8&) + 24
80  rn0726                        	       0x104cf9788 void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8&>(facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8&) + 24
81  rn0726                        	       0x104cf9764 std::__1::__function::__alloc_func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8>, void ()>::operator()[abi:v160006]() + 28
82  rn0726                        	       0x104cf82f8 std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8>, void ()>::operator()() + 28
83  rn0726                        	       0x10488b6a8 std::__1::__function::__value_func<void ()>::operator()[abi:v160006]() const + 68
84  rn0726                        	       0x10486a474 std::__1::function<void ()>::operator()() const + 24
85  rn0726                        	       0x104b21e1c facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 24
86  rn0726                        	       0x104b46484 facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 36
87  rn0726                        	       0x104b4af80 facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1::operator()() const + 80
88  rn0726                        	       0x104b4af24 decltype(std::declval<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1&>()()) std::__1::__invoke[abi:v160006]<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1&>(facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1&) + 24
89  rn0726                        	       0x104b4aedc void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1&>(facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1&) + 24
90  rn0726                        	       0x104b4aeb8 std::__1::__function::__alloc_func<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1, std::__1::allocator<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1>, void ()>::operator()[abi:v160006]() + 28
91  rn0726                        	       0x104b49bc8 std::__1::__function::__func<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1, std::__1::allocator<facebook::react::RCTMessageThread::runOnQueue(std::__1::function<void ()>&&)::$_1>, void ()>::operator()() + 28
92  rn0726                        	       0x10488b6a8 std::__1::__function::__value_func<void ()>::operator()[abi:v160006]() const + 68
93  rn0726                        	       0x10486a474 std::__1::function<void ()>::operator()() const + 24
94  rn0726                        	       0x104b46248 invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) + 48
95  CoreFoundation                	       0x1803c6464 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
96  CoreFoundation                	       0x1803c5bac __CFRunLoopDoBlocks + 352
97  CoreFoundation                	       0x1803c0450 __CFRunLoopRun + 788
98  CoreFoundation                	       0x1803bfd28 CFRunLoopRunSpecific + 572
99  rn0726                        	       0x104afaea8 +[RCTCxxBridge runRunLoop] + 736
100 Foundation                    	       0x180dd627c __NSThread__start__ + 720
101 libsystem_pthread.dylib       	       0x106a2b428 _pthread_start + 116
102 libsystem_pthread.dylib       	       0x106a26648 thread_start + 8

from vscode-react-native.

rivaros avatar rivaros commented on May 27, 2024

@EzioLi01 thank you it started to work after installing "React Native Tools (Nightly)". One quick question:
Screenshot 2023-11-13 at 1 53 49 PM
Should I also install "Javascript Debugger (Nightly)" and remove "Javascript Debugger". Looks like "Javascript Debugger" is a dependency of "React Native Tools" but when changing to "React Native Tools (Nightly)" it still uses the stable version of debugger.

from vscode-react-native.

rivaros avatar rivaros commented on May 27, 2024

@EzioLi01 thank you for details, we may close this one.

Unfortunately though "React Native Tools (Nightly)" works with default RN 0.76.2 on real project I got strange bugs and logged them as separate issue

#2068

Stable version works OK on that project (of course with a bug described & resolved in this thread :) )

from vscode-react-native.

EzioLi01 avatar EzioLi01 commented on May 27, 2024

OK, close this one and looking into another. Thanks!

from vscode-react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.