Mono.Debugger.Soft.Connection.Method_GetDebugInfo C# (CSharp) Method

Method_GetDebugInfo() public method

public Method_GetDebugInfo ( long id ) : DebugInfo
id long
return DebugInfo
		public DebugInfo Method_GetDebugInfo (long id) {
			var res = SendReceive (CommandSet.METHOD, (int)CmdMethod.GET_DEBUG_INFO, new PacketWriter ().WriteId (id));

			DebugInfo info = new DebugInfo ();
			info.max_il_offset = res.ReadInt ();
			info.filename = res.ReadString ();

			int n_il_offsets = res.ReadInt ();
			info.il_offsets = new int [n_il_offsets];
			info.line_numbers = new int [n_il_offsets];
			for (int i = 0; i < n_il_offsets; ++i) {
				info.il_offsets [i] = res.ReadInt ();
				info.line_numbers [i] = res.ReadInt ();
			}

			return info;
		}
Connection