Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
оператор goto, который в Java управляет переходами во вложенных циклах, а в C# сохраняет свое древнее предназначение.goto? Суровые вы программисты.))
for (int i = 0; i < 4; ++i)
{
for (int j = 0; j < 4; ++j)
{
Console.WriteLine("i = {0}, j = {1}", i, j);
if (j == 2 && i == j)
goto EXIT_OUTER_LOOP;
}
}
EXIT_OUTER_LOOP:
Console.WriteLine("After the outer loop");
OUTER_LOOP:
for (int i = 0; i < 4; ++i)
{
for (int j = 0; j < 4; ++j)
{
System.out.println(String.format("i = %s, j = %s", i, j));
if (j == 2 && i == j)
break OUTER_LOOP;
}
}
System.out.println("After the outer loop");
protected final int processSuitMax(final int[] ranks, final int size, final int initialValue) {
final int[] Z0 = this.Z0;
int result = initialValue;
int resultSuit = result << 3; // * 8
Next:
for (;;) {
for (int j = 0; j < size; j++) {
if (ranks[j] > Z0[resultSuit + j]) {
result++;
resultSuit = result << 3; // * 8
continue Next;
}
}
break;
}
return result;
}
protected int processSuitMax(int[] ranks, int size, int initialValue)
{
int[] Z0 = this.Z0;
int result = initialValue;
int resultSuit = result << 3; // * 8
for (; ; )
{
Next:
for (int j = 0; j < size; j++)
{
if (ranks[j] > Z0[resultSuit + j])
{
result++;
resultSuit = result << 3; // * 8
goto Next;
}
}
break;
}
Т.е. фактически при запуске на реальном железе — никакой отладки проекта, только на ощупь по логам и колстеку.
iOS remote debugging instructions
In addition to the instructions described above, Unity iOS applications require some additional steps for successful debugging:
Attach your iDevice to your WiFi network (the same requirement as for remote profiling).
Hit build & run in the Unity editor.
When the application builds, installs & launches via Xcode, click Stop in Xcode.
Manually find & launch your application on your iDevice. (Note: if the application is launched via Xcode you won't be able to resume after reaching a breakpoint).
When the app is running on the device, switch to MonoDevelop and click on the attach icon in the debugging toolbar. Select your device from the available instances list (if there are several instances shown, then select the bottom one).

Кроссплатформенный канделябр