Hello,
I've written a very short piece of code:
class VendAccountRename
{
/// <summary>
/// Runs the class with the specified arguments.
/// </summary>
/// <param name = "_args">The specified arguments.</param>
public static void main(Args _args)
{
VendTable vendTable;
ttsBegin;
select firstOnly vendTable
where vendTable.AccountNum == '1001';
if (vendTable)
{
vendTable.AccountNum = 'US-1002';
vendTable.renamePrimaryKey();
}
ttsCommit;
}
}
Then I set up my class as start up object by right-click on it.
Then I put a break point like that:

Then I attached to the w3wp.exe process.
The I start debugging and by break point shifts to the other line by itself like that:

Also step over and step into commands are greyed out and I can't debug step by step:

Could you please tell me what I'm doing wrong?
Thank you in advance.