summaryrefslogtreecommitdiffstats
path: root/autoexp.visualizer
diff options
context:
space:
mode:
authorsagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2012-02-12 16:05:27 (GMT)
committersagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2012-02-12 16:05:27 (GMT)
commit96e6e9fa7388b010f55cf8d122ef03a2a8ab87e4 (patch)
tree43bfb85629d0fa32de2d88d04997642a0828c128 /autoexp.visualizer
parent805aac230223f45acc7db218eb64589a4adb390e (diff)
downloadcv2pdb-96e6e9fa7388b010f55cf8d122ef03a2a8ab87e4.zip
cv2pdb-96e6e9fa7388b010f55cf8d122ef03a2a8ab87e4.tar.gz
cv2pdb-96e6e9fa7388b010f55cf8d122ef03a2a8ab87e4.tar.bz2
* disabled named enumerator for D basic types to avoid debugger troubles displaying arrays
* added command line switch -e to enable using named enumerator for D basic types * added DWARF support * added x64 support
Diffstat (limited to 'autoexp.visualizer')
-rw-r--r--autoexp.visualizer51
1 files changed, 9 insertions, 42 deletions
diff --git a/autoexp.visualizer b/autoexp.visualizer
index 46b2d1c..d9afa2e 100644
--- a/autoexp.visualizer
+++ b/autoexp.visualizer
@@ -9,50 +9,17 @@
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-; string, wstring and dstring use __viewhelper
-string|wstring|dstring {
-
- preview (
- #if ($e.ptr == 0) ( "null" )
- #else (
- #( "[", $e.length, "] ", [$e.__viewhelper] )
- )
- )
- stringview (
- #if ($e.ptr == 0) ( "null" )
- #else (
- #( [$e.ptr, s] )
- )
- )
- children (
- #(
- length: [$e.length, i],
- data: [$e.ptr]
- )
- )
+; strings not as dynamic arrays, use dviewhelper instead
+char[]|const(char)[]|immutable(char)[] {
+ preview ( [(string)$e] )
+}
+
+wchar[]|const(wchar)[]|immutable(wchar)[] {
+ preview ( [(wstring)$e] )
}
-; strings as dynamic arrays of char (no __viewhelper, check -D option for cv2pdb!)
-const char[]|char[]|const wchar[]|wchar[]|const dchar[]|dchar[] {
-
- preview (
- #if ($e.ptr == 0) ( "null" )
- #else (
- #( "[", $e.length, "] ", [$e.ptr] )
- )
- )
- stringview (
- #if ($e.ptr == 0) ( "null" )
- #else (
- #( [$e.ptr, s] )
- )
- )
- children (
- #(
- length: [$e.length, i],
- data: [$e.ptr]
- )
- )
+dchar[]|const(dchar)[]|immutable(dchar)[] {
+ preview ( [(dstring)$e] )
}
const void[]|void[] {