debugging add module support
This commit is contained in:
@@ -226,6 +226,13 @@ - (void)startDebugging:(NSString *)source {
|
||||
@"msg": @"Cannot find suitable alive context for debugging"
|
||||
}];
|
||||
} else {
|
||||
[DoricSingleton.instance.bundles enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
|
||||
[self.wsClient sendToDebugger:@"LOAD_MODULE"
|
||||
payload:@{
|
||||
@"name": key,
|
||||
@"content": obj,
|
||||
}];
|
||||
}];
|
||||
DoricContext *context = contexts.lastObject;
|
||||
[self.wsClient sendToDebugger:@"DEBUG_RES" payload:@{
|
||||
@"contextId": context.contextId
|
||||
|
Reference in New Issue
Block a user