react-native/Libraries
Laguana 7dbc8051e5 Fix symbolication outside of chrome debugging
Summary:
When debugging in VScode or nucleide using a nodejs environment rather than chrome, the JS sources are made to appear as if they exist on disk, rather than coming from a `http://` url. Prior to this change the packager would see these file paths and not know how to handle them.

Since all the application JS will be part of a bundle file, we can switch out the path to the bundle on the filesystem with paths to the bundle served by the packager, and things will work just as though it was debugging in chrome. We stop the replacement once we reach an internal module (`vm.js` in the case of both nucleide and VSCode) since that is the point when the execution switches from inside the app to the surrounding debugging environment.

I've verified that this fixes redbox stack trace symbolication in VSCode, and from my understanding of nucleide's debugging environment it should also work there without requiring any changes.
Closes https://github.com/facebook/react-native/pull/9906

Differential Revision: D3887166

Pulled By: davidaurelio

fbshipit-source-id: e3a6704f30e0fd045ad836bba51f6e20d9854c30
2016-09-19 10:58:40 -07:00
..
ART Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
ActionSheetIOS ActionSheetIOS - Pass URL, not file contents to UIActivityViewController for file URLs. 2016-09-06 04:43:36 -07:00
AdSupport Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
Animated Add support for animated events 2016-09-19 04:14:01 -07:00
AppRegistry Auto-fix lint errors 2016-08-09 06:43:46 -07:00
AppState Auto-fix lint errors 2016-08-09 06:43:46 -07:00
BatchedBridge Remove additional JSON encoding for native->JS communication 2016-09-19 04:44:12 -07:00
BugReporting Unrevert D3518381 2016-07-06 12:58:41 -07:00
CameraRoll Added name of the file with camera roll pictures 2016-09-17 20:43:42 -07:00
Components Add very basic usage example for android toast 2016-09-19 06:43:54 -07:00
CustomComponents Added the PushFromLeft animation to Navigator 2016-09-09 06:28:34 -07:00
DebugComponentHierarchy Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
Devtools Get server host in setupDevtools for Android 2016-07-19 05:58:29 -07:00
EventEmitter Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Experimental Use Batchinator in WindowedListView 2016-09-06 22:43:27 -07:00
Fetch Fixed what fetch.js exports 2016-07-14 11:13:27 -07:00
Geolocation Docs - explain how to access the geolocation API 2016-09-09 05:43:35 -07:00
Image Fix invalid package name and Remove unsupported prop in Image.android.js 2016-09-14 13:43:48 -07:00
Inspector Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Interaction Add missing return, FIX #9886 2016-09-15 22:43:36 -07:00
JavaScriptAppEngine Fix symbolication outside of chrome debugging 2016-09-19 10:58:40 -07:00
LayoutAnimation Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Linking Auto-fix lint errors 2016-08-09 06:43:46 -07:00
LinkingIOS Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
Modal Allow <Modal /> to be presented in different orientations 2016-09-07 13:10:11 -07:00
NativeAnimation Add support for DiffClamp node 2016-09-06 15:43:35 -07:00
NavigationExperimental Clean up unused mock for NavigationRootContainer 2016-09-18 17:58:38 -07:00
Network For file uploads, don't stomp on developer's Content-Type header 2016-09-05 14:58:40 -07:00
PermissionsAndroid Change Android Permission Module to use promises 2016-08-16 12:58:39 -07:00
PushNotificationIOS registration error event 2016-09-06 11:13:40 -07:00
QuickPerformanceLogger AdsManager now uses new react native QPL identifiers 2016-07-20 07:28:36 -07:00
RCTTest Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
RKBackendNode Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
ReactIOS Deploy v0.32.0 2016-09-06 13:43:47 -07:00
ReactNative Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
Sample Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
Settings Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
Share Add Share module 2016-07-25 03:43:29 -07:00
Storage Auto-fix lint errors 2016-08-09 06:43:46 -07:00
StyleSheet Reverted commit D3855801 2016-09-14 11:28:34 -07:00
Text Include CSSLayout.h consistently with other project includes 2016-09-06 09:13:39 -07:00
Utilities Remove additional JSON encoding for native->JS communication 2016-09-19 04:44:12 -07:00
Vibration Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
WebSocket Updating Websocket readyState in case of websocketFailed event 2016-09-08 17:13:45 -07:00
react-native Remove react-native.js.flow 2016-09-14 02:58:40 -07:00
vendor Cleanup clear/set/throwImmediate 2016-08-12 07:28:38 -07:00
Promise.js Make onUnhandled safe for undefined errors 2016-08-02 07:58:28 -07:00
promiseRejectionIsError.js Add possibility to `console.error`/redbox on promise rejections 2016-03-15 05:22:22 -07:00