mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-26 21:42:11 +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() {
|
public void SendAssembly() {
|
||||||
DebugWindows.SendCommand(DwMsgType.AssemblySource, Encoding.ASCII.GetBytes("test"));
|
//DebugWindows.SendCommand(DwMsgType.AssemblySource, Encoding.ASCII.GetBytes("test"));
|
||||||
return;
|
//return;
|
||||||
|
|
||||||
// Scan and make a list of labels that belong to this line of code
|
// Scan and make a list of labels that belong to this line of code
|
||||||
int xIdx = mSourceMappings.Keys.IndexOf((uint)mCurrentAddress);
|
int xIdx = mSourceMappings.Keys.IndexOf((uint)mCurrentAddress);
|
||||||
|
|
|
||||||
|
|
@ -49,14 +49,15 @@ namespace Cosmos.Cosmos_VS_Windows {
|
||||||
if (aFilter) {
|
if (aFilter) {
|
||||||
if (xTestLine == "INT3") {
|
if (xTestLine == "INT3") {
|
||||||
continue;
|
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) {
|
} else if (xTestLine.Length == 0) {
|
||||||
continue;
|
continue;
|
||||||
|
} else {
|
||||||
|
var xParts = xTestLine.Split(' ');
|
||||||
|
if (xParts.Length > 1) {
|
||||||
|
if (xParts[1] == ";ASM") {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xDisplayLine = xDisplayLine.Trim();
|
xDisplayLine = xDisplayLine.Trim();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue