调试不会停止mono

typedef enum {
CMD_SET_VM = 1,
CMD_SET_OBJECT_REF = 9,
CMD_SET_STRING_REF = 10,
CMD_SET_THREAD = 11,
CMD_SET_ARRAY_REF = 13,
CMD_SET_EVENT_REQUEST = 15,
CMD_SET_STACK_FRAME = 16,
CMD_SET_APPDOMAIN = 20,
CMD_SET_ASSEMBLY = 21,
CMD_SET_METHOD = 22,
CMD_SET_TYPE = 23,
CMD_SET_MODULE = 24,
CMD_SET_FIELD = 25,
CMD_SET_EVENT = 64,
CMD_SET_POINTER = 65

} CommandSet;


buffer_init (&buf, 128);


err = ERR_NONE;
no_reply = FALSE;


/* Process the request */
/*if (command_set == CMD_SET_VM && command == CMD_VM_EXIT)
{
command = CMD_VM_DISPOSE;
}*/
switch (command_set) {
case CMD_SET_VM:
err = vm_commands (command, id, p, end, &buf);
if (err == ERR_NONE && command == CMD_VM_INVOKE_METHOD)
/* Sent after the invoke is complete */
no_reply = TRUE;
break;
case CMD_SET_EVENT_REQUEST:

猜你喜欢

转载自blog.csdn.net/linuxheik/article/details/80360780