How to Get SelectedValue in Debugger?

Dear All
Please Help me why I cannot get the SelectedValue() in debugger, please check the code and the Capture Screen :

SetBarsRequired( sbrAll, sbrAll );

Bar_Index = LastValue(BarIndex());
Selected_Value = SelectedValue(BarIndex());

GfxSelectFont("Times New Roman", 20,300, True ); 
GfxSetBkMode( colorWhite );  
GfxSetTextColor( colorbrown ); 
GfxTextOut("BarIndex "+ Bar_Index, 1100 , 10 );
GfxTextOut("Selected Value Bar: "+ Selected_value, 350 , 10 );


sorry the picture Left.


RGDS Bob tanujaya

Is it really so much difficult using search function?

Your question has been answered in the past already (and can be found within seconds)

Also the debugger manual mentions:

As of version 6.10, the debugger runs the code with actionBacktest context.


Dear Fxshrat :
Thansk for the help, I will seach to find out.

rgds bob