Revert "debugging add module support"

This reverts commit 85da528de5e258a765b842ca5e55c4cf81fd2936.
This commit is contained in:
pengfei.zhou
2021-08-24 16:11:04 +08:00
committed by osborn
parent 7516cef93e
commit 059f27c743
7 changed files with 4 additions and 65 deletions

View File

@@ -226,13 +226,6 @@ - (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