summaryrefslogtreecommitdiffstats
path: root/autoexp.visualizer
diff options
context:
space:
mode:
authorsagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2010-08-08 08:37:12 (GMT)
committersagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2010-08-08 08:37:12 (GMT)
commit59dc1509092a46bb18e08f54ac5c4f859ca0ffa8 (patch)
tree44b893a9c077e1f531e87ac7bb9953a46e254548 /autoexp.visualizer
parent81f3ca8636f863d32f0da61c214077305f28ccfc (diff)
downloadcv2pdb-59dc1509092a46bb18e08f54ac5c4f859ca0ffa8.zip
cv2pdb-59dc1509092a46bb18e08f54ac5c4f859ca0ffa8.tar.gz
cv2pdb-59dc1509092a46bb18e08f54ac5c4f859ca0ffa8.tar.bz2
Version 0.15
* thanks to patches by Z3N, the resulting pdb is now usable by more debuggers * now uses shared file access to executable * incomplete structs/classes are now added as user defined types to avoid confusing debugger for following symbols * fixed name demangling of very long names * added name demangling support for @safe/@trusted/@property/pure/nothrow/ref * base classes are added to D/cpp-interfaces to allow viewing the virtual function table pointer * structs, classes and interfaces now have an internal qualifier attached that allows the preview in autoexp.dat to show better info for structs and interfaces
Diffstat (limited to 'autoexp.visualizer')
-rw-r--r--autoexp.visualizer16
1 files changed, 14 insertions, 2 deletions
diff --git a/autoexp.visualizer b/autoexp.visualizer
index ea62187..46b2d1c 100644
--- a/autoexp.visualizer
+++ b/autoexp.visualizer
@@ -217,14 +217,26 @@ internal@aaA<*,*> {
)
}
-; display null references for class objects
+; display null references and class name for class objects
*@* {
preview(
#(
#if (&$e == 0) ( "null" )
- #else (
+ #elif ($e.__classtype == 1) ( ;;; classes
#( "[", [$e.__viewhelper], "] ", [$e,!] )
)
+ #elif ($e.__classtype == 2) ( ;;; DInterface
+ #( "[D-Interface ", [**(object_viewhelper**)&$e], "] " )
+ )
+ #elif ($e.__classtype == 3) ( ;;; CppInterface
+ #( "[C++Interface]")
+ )
+ #elif ($e.__classtype == 4) ( ;;; Struct
+ #( [$e,!] )
+ )
+ #elif (1) (
+ #( [$e,!] )
+ )
)
)
}