Once i run the project(react-native run-ios),i edit my js file,try to Reload JS ,but get error global.nativeTraceBeginSection is not a function,what is the wrong?

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!
I am seeing this problem, too. This happens after the first reload in the simulator. Workaround is killing the app and relaunching it from XCode. Pretty annoying.
The problem is that some of the defaults set Start SysTrace. (I am pretty sure I didn't do that)
Another more permanent workaround is selecting Stop SysTrace.
In short, I'd summarize the problem as follows:
Start SysTrace seems to be set by defaultSysTrace seems to be buggy, nativeTraceBeginSection is not registered.From my package.json:
"dependencies": {
...
"lodash": "4.17.4",
"react": "16.0.0-alpha.12",
"react-addons-shallow-compare": "15.6.0",
"react-dom": "16.0.0-alpha.12",
"react-native": "0.46.3",
"react-native-code-push": "4.0.0-beta",
"react-native-fetch-blob": "0.10.6",
"react-redux": "5.0.5",
"redux": "3.7.2",
"redux-logger": "3.0.6",
...
},
loadModuleImplementation calls Systrace.beginEvent('JS_require_' + (module.verboseName || moduleId)); which calls global.nativeTraceBeginSection(TRACE_TAG_REACT_APPS, profileName, args);.
global is a DedicatedWorkerGlobalScope.
I fix it. just launching it from xcode,not from
terminal.Thanks!
What is the fix for this? Getting this error when I updated to react v16.0.0-alpha.12 from react v16.0.0-alpha.6 and react-native: 0.44 to react-native: 0.45.1
为什么还不好使

Stop SysTrace works
@AlexanderYao Sorry noob question, how to Stop SysTrace?
how to Stop SysTrace?
It's in the Developer Menu.
Just started getting the sys trace error. Actually had the No Bundle URL present error prior(for no reason....), so tried building and running from Xcode etc. to solve that...
Thankfully stopping Sys Trace via the Dev Menu (cmd D) in the simulator worked. Anyone know what causes it to happen in the first place and will I have to contend with these issues randomly from now on?
Most helpful comment
Stop SysTraceworks