mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
This commit is contained in:
parent
a208ab88ba
commit
41fa2deaec
2 changed files with 10 additions and 9 deletions
|
|
@ -506,8 +506,8 @@ namespace Cosmos.Debug.VSDebugEngine {
|
|||
}
|
||||
|
||||
public void SendAssembly() {
|
||||
DebugWindows.SendCommand(DwMsgType.AssemblySource, Encoding.ASCII.GetBytes("test"));
|
||||
return;
|
||||
//DebugWindows.SendCommand(DwMsgType.AssemblySource, Encoding.ASCII.GetBytes("test"));
|
||||
//return;
|
||||
|
||||
// Scan and make a list of labels that belong to this line of code
|
||||
int xIdx = mSourceMappings.Keys.IndexOf((uint)mCurrentAddress);
|
||||
|
|
|
|||
|
|
@ -49,14 +49,15 @@ namespace Cosmos.Cosmos_VS_Windows {
|
|||
if (aFilter) {
|
||||
if (xTestLine == "INT3") {
|
||||
continue;
|
||||
} else if (xTestLine.StartsWith("; #")) {
|
||||
// Comments which are signals for the parser
|
||||
continue;
|
||||
} else if (xTestLine.EndsWith("#:")) {
|
||||
// Hidden labels (ASM stepping, only add noise for user)
|
||||
continue;
|
||||
} else if (xTestLine.Length == 0) {
|
||||
continue;
|
||||
} else {
|
||||
var xParts = xTestLine.Split(' ');
|
||||
if (xParts.Length > 1) {
|
||||
if (xParts[1] == ";ASM") {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
xDisplayLine = xDisplayLine.Trim();
|
||||
|
|
@ -86,6 +87,6 @@ namespace Cosmos.Cosmos_VS_Windows {
|
|||
mData = aData;
|
||||
Display(mFilter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue