Enhancement to VC debuger
You can customize how VC debbuger displays OWL Objects. Just edit file SharedIde/BIN/Autoexp.dat
for VC 5.0 or MSDev98/BIN/autoexp.dat for VC 6.0.
For example I did this additions:
; for OWL
OWL::string =<p->array,st>
OWL::TPoint =x=<x> y=<y>
OWL::TRect =top=<top> bottom=<bottom> left=<left> right=<right>
OWL::TSize =cx=<cx> cy=<cy>
OWL::TWindow =<,t> Handle=<Handle,x> Title=<Title,st>
OWL::TModule =<,t> Name=<Name,st> Handle=<Handle,x>
OWL::TMenu =<,t> Handle=<Handle,X> ShouldDelete=<ShouldDelete,i>
OWL::TColor =<Value,x>
OWL::TGdiBase =<,t> Handle=<Handle,x> ShouldDelete=<ShouldDelete,i>
OWL::TApplication =<,t> <Name,st>
OWL::TThread =<,t> Handle=<Handle,x> Stat=<Stat>
ThreadId=<ThreadId,x>
OWL::TGadget =<,t> Id=<Id,u> Bounds=<Bounds>
OWL::TResId =Num=<Num,u> Str=<Str,st>
; templates
OWL::TObjectArray<*> =<,t> ItemCnt=<ItemCnt>
OWL::TSortedObjectArray<*> =<,t> ItemCnt=<ItemCnt>
OWL::TPtrArray<*> =ItemCnt=<,t> <ItemCnt>
OWL::TSortedPtrArray<*> =<,t> ItemCnt=<ItemCnt>
OWL::TIPtrArray<*> =<,t> ItemCnt=<ItemCnt>
OWL::TISortedPtrArray<*> =<,t> ItemCnt=<ItemCnt>
OWL::TPointer<*> =<P>
OWL::TAPointer<*> =<P>
What this? You can read what every symbol mean in autoexpand.dat, and see how Microsoft
team use it for MFC.
For example without additions debuger windows show:
In files:
string name = "yura";
TEdit* wnd = new TEdit("Some wnd");
wnd->Create();
TPoint point(1,2);
TResId resId = 123;
Debuger shows: