Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Debugging-QuantLib-Matrix-with-msvc-tp7956p7957.html
On Sun, 2009-08-16 at 22:47 +0200, Kim Kuen Tang wrote:
> debugging QuantLib::Matrix with msvc is not possible. The debugger just
> shows the raw pointer to that matrix.
> And you can get around this limitation by modifying the autoexp.dat file
Kim,
it seems that the indices are flipped when the values are displayed:
see the attached screenshot, where I just set M[0][0], M[0][1] and
M[0][2] and the debugger displays the values for M[0][0], M[1][0] and
M[2][0].
Luigi
--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
-- Brian W. Kernighan
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users