Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DebugStuff
{
[KSPAddon(KSPAddon.Startup.Instantly, true)]
class DebugDrawer : MonoBehaviour
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using UnityEngine;
void Update()
{
int count = 1000;
string format = "|{0} {1}|";
Profiler.BeginSample("ToString");
for (int i = 0; i < count; i++)
{
text1.text = i.ToString() + " " + i.ToString();
}
/home/roslyn/csc.exe /noconfig /target:library /checked- /nowarn:1701,1702,2008 /langversion:6 /nostdlib+ /platform:AnyCPU \
/warn:4 /errorendlocation /preferreduilang:en-US /highentropyva- /optimize+ /debug- /filealign:512 \
/reference:${KSP}/Assembly-CSharp.dll \
/reference:${KSP}/Assembly-CSharp-firstpass.dll \
/reference:${KSP}/KSPUtil.dll \
/reference:${KSP}/mscorlib.dll \
/reference:${KSP}/System.Core.dll \
/reference:${KSP}/System.dll \
/reference:${KSP}/UnityEngine.dll \
/reference:${KSP}/UnityEngine.UI.dll \
TEST
{
name = Test
}
@TEST
{
copy = 5
}
do
{
steps++;
activeStep = steps;
activeDt = dt;
repeatWithSmallerStep = false;
Vector3d error;
Vector3d zv;
// Perform the RK4 calculation
{
using UnityEngine;
using System.Collections.Generic;
public class ForeachTest : MonoBehaviour
{
private string _testString = "this is a test";
private List<string> _testList;
private const int _numIterations = 10000;
void Start()
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
The following inconsistencies were found:
HotRockets requires SmokeScreen but nothing provides it at CKAN.SanityChecker.EnforceConsistency(IEnumerable`1 modules, IEnumerable`1 dlls)
at CKAN.RegistryManager.Save(Boolean enforce_consistency)
at CKAN.KSP.ScanGameData()
at CKAN.Main.UpdateRepo()
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)