NeedForTrade Documentation |
|
Initial Exception Handling Setup
There are two types of exceptions that you do no want to see in the debugger:
- MissingDataException - occurs when some data is not loaded (e.g.
Data[2] is used, but only 1 Instrument data is available), but was requested by
analysis technique.
- NotEnoughDataException - occurs when there is not enough bars to
calculate analysis technique.
To hide these exceptions from Microsoft CLR Debugger:
- Make Microsoft
CLR Debugger window active.
- Select Debug->Exceptions... from debugger's main menu or press
Ctrl-Alt-E.
- Exceptions window will appear on the screen:
- Click on the Add... button.
- New Exception window will appear on the screen:
- Copy-paste or write down the following sting to the Name text box:
dMarketAbstractionLibrary.Data.MissingDataException
- After that New Exception window must look like this:
- Press OK button.
- Exceptions window must look like that now:
- Click on the User-unhandled check box beside newly created
dMarketAbstractionLibrary.Data.MissingDataException line (all check boxes
beside it must be clear).
- Exceptions window must look like that now:
- Click on the Add... button.
- New Exception window will appear on the screen:
- Copy-paste or write down or the following sting to the Name text
box: dMarketAbstractionLibrary.Data.NotEnoughDataException
- After that New Exception window must look like this:
- Press OK button.
- Exceptions window must look like that now:
- Click on the User-unhandled check box beside newly created
dMarketAbstractionLibrary.Data.NotEnoughDataException line (all check boxes
beside it must be clear).
- Exceptions window must look like that now:
- Press OK button to finish.
See also Exceptions.