Debug not working

I am using Ver 6.30.5.
I am completely new to trying to use Debug, but I am familiar with coding my custom indicators etc.

I am having problems with using StaticVarSet and like, so started to use the debug tool, but I cannot get past first base, not being able to apply the BreakPoint inside the AFL code.
I have read and followed the instructions several times, but without success.
I have reinstalled my program, still not successful.

When I tap on the Debug tool button and get the dropdown window, then clicking on the red button "Insert/Remove Breakpoint, nothing happens at the selected code line.

Any help or suggestions would be most appreciated, to lower my frustrations.
Thank you All.

The code line you select must contain code, make sure you are not selecting an empty line.

2 Likes

Hello TrendSurfer,
Many, many thanks. Firstly, for replying so promptly. Secondly, for supplying the answer that works.
In all my trials, I consciously placed the cursor on a code line, that had no code. I did not want to do anything that would upset my existing code.
Such a simple solution.
Now I can progress to interpreting the results of using the Breakpoint.
All the best,
Bill
oldhiker

1 Like

To view Static Variable values in Debug Watch Window add "$" prefix (in the Watch Window) to your Static Variable name.

image

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.