private void SetCppCallStackMode(CppCallStackMode mode) { disabledToolStripMenuItem.Checked = (mode == CppCallStackMode.Disabled); condensedToolStripMenuItem.Checked = (mode == CppCallStackMode.Condensed); fullToolStripMenuItem.Checked = (mode == CppCallStackMode.Full); debugger.EnableCppCallstack(mode); }
private void Reset() { hostVersion = 0; hostPlatform = Platform.Unknown; symbolsManager = null; cppCallStackMode = CppCallStackMode.Disabled; }
public void EnableCppCallstack(CppCallStackMode mode) { if (hostVersion >= 4) { // Request the module information if necessary if (mode != CppCallStackMode.Disabled && hostPlatform == Platform.Xbox && symbolsManager == null) { sendBufferWriter.Write((byte)PacketType.ModulesInformation); SendPacket(); } } if (hostVersion >= 3) { cppCallStackMode = mode; bool enable = (mode != CppCallStackMode.Disabled); sendBufferWriter.Write((byte)PacketType.EnableCppCallstack); sendBufferWriter.Write(enable); SendPacket(); } }
public void EnableCppCallstack(CppCallStackMode mode) { if (hostVersion >= 4) { // Request the module information if necessary // removed old code - keeping it commented as we add new platforms which have remote symbols /*if (mode != CppCallStackMode.Disabled && /*hostPlatform == Platform.??? && symbolsManager == null) // ACCEPTED_USE * { * sendBufferWriter.Write((byte)PacketType.ModulesInformation); * SendPacket(); * }*/ } if (hostVersion >= 3) { cppCallStackMode = mode; bool enable = (mode != CppCallStackMode.Disabled); sendBufferWriter.Write((byte)PacketType.EnableCppCallstack); sendBufferWriter.Write(enable); SendPacket(); } }