Indeed, can you please try to use stl port first, or btAlignedObjectArray, without any Bullet modifications?
Below is the snippet that adds MSVC debugging support for btAlignedObjectArray and btVector3, similar to what they did with
stl port visualization. Just add the text in C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\Debugger\autoexp.dat (for example at the very end).
This snippet
Code:
btAlignedObjectArray<int> vec;
vec.push_back(2);
vec.push_back(6);
vec.push_back(4);
btAlignedObjectArray<btVector3> vecs;
btVector3 tmp(6,5,4);
vecs.push_back(tmp);
vecs.push_back(btVector3(4,5,6));
looks in the MSVC debugger like this:

Code:
[Visualizer]
;------------------------------------------------------------------------------
; btVector3
;------------------------------------------------------------------------------
btVector3{
children
(
#array
(
expr : ($c.m_floats)[$i],
size : 4
)
)
preview
(
#(
"[",
#array
(
expr : ($c.m_floats)[$i],
size : 4
),
"]"
)
)
}
;------------------------------------------------------------------------------
; btAlignedObjectArray
;------------------------------------------------------------------------------
btAlignedObjectArray<*>{
children
(
#array
(
expr : ($c.m_data)[$i],
size : $c.m_size
)
)
preview
(
#(
"[",
$c.m_size ,
"](",
#array
(
expr : ($c.m_data)[$i],
size : $c.m_size
),
")"
)
)
}
Thanks,
Erwin