Is it possible to add a switch to control "callbacks_poll"? The infinite loop of "callbacks_poll" causes me to not debug properly
See original GitHub issueGoals
Add a switch to control it
Expected Results
Add a switch to control it
Actual Results
Can I provide a switch to control it? The infinite loop of “callbacks_poll” causes me to not debug properly
Thread 1: EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)
Steps to Reproduce
An infinite loop of callbacks_poll even if not used
Code Sample
const realm = new Realm({ schema: [RecentMessageSchema] });
export const getKeyWordStorage = realm.objects(USERMESSAGE);
export const addInTheSpecifiedDataSource = (databaseTableName,data) => {
realm.write(() => {
realm.create(databaseTableName,data,true)
//console.log(item)
});
}
Version of Realm and Tooling
- Realm JS SDK Version: 2.4.0
- Node or React Native: 0.55.3
- Client OS & Version: ?Mac OS 10.13.4
- Which debugger for React Native: ?React-Native-Debugger or Chrome
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Infinite loop callbacks_poll React Native Debugger
I see this endless loop in the debugger network pane, both in Chrome and React Native Debugger using iOS Simulator and RN 0.49.5....
Read more >Debugger help. Interrupting an endless loop? - Microsoft Q&A
My program appears to be stuck in an endless loop, but I have no idea ... pause button during testing in real-time simply...
Read more >Debugging Infinite Loops | CodeHS Knowledge Base
Infinite loops occur when loops have no exit condition - no way to stop - so when the program is run it loops...
Read more >Device enters infinite loop inside nvocmp.c driver on startup ...
when CCS stops in 1700, be sure device 'action' is 3 (RECOVER_ERASE);; continue debugging, debugger will not stop anymore on any breakpoint; ...
Read more >Find & Fix Code Bugs in Python: Debug With IDLE
The Debug Control Window: An Overview; The Step Button; Breakpoints and the Go Button; Over and Out ... Logic errors cause unexpected behaviors...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kneth I think this issue is related to ExpoKit… I am trying to eject ExpoKit now to see if it works.
Hi,
I’m facing same issue. Application is very slow when debugging is on because of callbacks_poll requests.
It is possible to fix it with patch-package:
But patching node_modules doesn’t sound like a good idea to me so it would be really nice to have configuration option.