News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Colors in Debug.inc

Started by HSE, September 30, 2018, 04:55:08 AM

Previous topic - Next topic

HSE

Nothing complex here. Just making easy to change debug colors.

...
;Debug colors
$RGBbasico textequ <$RGB(230,230,230)>  ; for dark background
;$RGBbasico textequ <$RGB(  0,  0,  0)>  ; for bright background
$RGBred    textequ <$RGB(255,  0,  0)>
$RGBblue   textequ <$RGB(  0,  0,255)>
$RGBgray1  textequ <$RGB(128,128,128)>
$RGBgreen0 textequ <$RGB(  0,160,  0)>
$RGBgreen1 textequ <$RGB( 50,150, 50)>  ; DbgFPU
$RGBblue1  textequ <$RGB( 64, 64,255)>  ; DbgObject
$RGBblue2  textequ <$RGB( 63, 63,255)>  ; DbgVMT
$RGBorange textequ <$RGB(192, 64, 64)>
...

Regards.
Equations in Assembly: SmplMath

Biterider

Hi HSE
Good idea!  :t


Thanks, Biterider



Biterider

Hi HSE
If you have time, can you take a look at this version to check if it fits?  :P
I renamed the colors with names that show their purpose.

Biterider

HSE

Nice!!

Just now I noted that I don't see lines. DbgLine don't have color. DbgOutCmd use DBG_CMD_INFO structure, wich doesn't have "dcolor" item.

Perhaps that color could be a DebugCenter setting.

Thanks.
Equations in Assembly: SmplMath

Biterider

Right!
We can extend the coloring for the other features and the window background.
I'll write it down for the next update.


Thanks, Biterider

Biterider

Hi HSE
Debug coloring is now available for 32 and 64 bit versions (ObjAsm Fusion project)  ;)
Upcomming improvements like "background coloring" will be common for both ex-subprojects.


Regards, Biterider