The easiest way to debug(trace) PosSizers
Author: samwongjaala
Creation Date: 7/16/2014 1:57 AM
profile picture


I have checked most (if not all) of the related FAQ and posts. It seems that none is simpler than the following way:

1/ Put your trace statements in your PosSizer code, e.g.:
Please log in to see this code.

You might want to check out the documentation of System.Diagnostics.Trace. There are a variety of tools.

2/ Download DebugView from System Internals:
It is a zip file that contains an executable. Open it and extract DbgView.exe
Run the exe and then in Wealth-lab execute a strategy with your custom sizer that has trace statements.


There is no need to set up remote debugging whatsoever.
profile picture


Right, #1 is the simplest. We advice to do the same in this FAQ: Is it possible to use PrintDebug in a PosSizer?
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).