Skip to content

Commit 293328b

Browse files
committed
vb debugger reorg
1 parent 075b0a2 commit 293328b

File tree

11 files changed

+430
-614
lines changed

11 files changed

+430
-614
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616
*.ilk
1717
*.lib
1818
*.htm
19+
/backups/*

Module1.bas

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
Attribute VB_Name = "Module1"
22
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef Destination As Any, Source As Any, ByVal Length As Long)
3+
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
4+
5+
Public readyToReturn As Boolean
36

47
Enum cb_type
58
cb_output = 0
69
cb_dbgout = 1
710
cb_dbgmsg = 2
811
End Enum
912

13+
Public Function GetDebuggerCommand() As Long
14+
15+
readyToReturn = False
16+
While Not readyToReturn
17+
DoEvents
18+
Sleep 20
19+
Wend
20+
21+
22+
23+
End Function
1024

1125
Public Sub vb_stdout(ByVal t As cb_type, ByVal lpMsg As Long, ByVal sz As Long)
1226

engine/dll.vcproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -598,19 +598,11 @@
598598
Name="vb_dbg"
599599
>
600600
<File
601-
RelativePath=".\preprocessors\vb_dbg\vb_dbg.h"
601+
RelativePath=".\preprocessors\vb_dbg\debugger.c"
602602
>
603603
</File>
604604
<File
605-
RelativePath=".\preprocessors\vb_dbg\vb_dbg_comm.h"
606-
>
607-
</File>
608-
<File
609-
RelativePath=".\preprocessors\vb_dbg\vb_dbg_con.c"
610-
>
611-
</File>
612-
<File
613-
RelativePath=".\preprocessors\vb_dbg\vb_dbg_interface.c"
605+
RelativePath=".\preprocessors\vb_dbg\debugger.h"
614606
>
615607
</File>
616608
</Filter>

engine/flat_config_sb.7z

-280 KB
Binary file not shown.

0 commit comments

Comments
 (0)