This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ManagedPoolThread #4 10:17:51 ERROR Cannot start profiler. The directory name is invalid. | |
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) | |
at System.IO.Directory.SetCurrentDirectory(String path) | |
at JetBrains.dotTrace.Api.SelfAttachImpl.StartSelfAttach(BaseProfilingConfig config, String executablePath, String savePath, UInt16 storageFmt) | |
at JetBrains.dotTrace.Api.SelfAttachImpl.Attach(BaseProfilingConfig config) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Log.Info("*** IndexingProvider.GetHistory(). Starting processing history collection.", new object()); | |
var result = new HistoryEntryCollection(); | |
foreach (HistoryEntry entry in history) | |
{ | |
IEnumerable<HistoryEntry> historyEntries = from historyEntry in history | |
where historyEntry.Action == entry.Action && historyEntry.ItemId == entry.ItemId && | |
historyEntry.ItemLanguage == entry.ItemLanguage && historyEntry.ItemVersion == entry.ItemVersion && historyEntry.Created > entry.Created | |
select historyEntry; | |
if (historyEntries.Count() > 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = new JetBrains.dotTrace.Api.SaveSnapshotProfilingConfig(@"C:\perflog\publish_profiling\") | |
{ | |
ProfilingControlKind = JetBrains.dotTrace.Api.ProfilingControlKind.API, | |
TempPath = @"C:\perflog\publish_profiling\temp", | |
RedistPath = @"C:\perflog\Redist\JetBrains.dotTrace.ExternalLauncherProcess.exe", | |
SavePath = @"C:\perflog\publish_profiling\", | |
SnapshotFormat = JetBrains.dotTrace.Api.SnapshotFormat.Compressed, | |
CoreLogMask = 6, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Event.Subscribe("item:saved", this.Item_Saved); | |
private void Item_Saved([NotNull] object sender, [NotNull] EventArgs e) | |
{ | |
var changes = Event.ExtractParameter<ItemChanges>(e, 1); | |
if (!changes.IsFieldModified(FieldIDs.Security) && !changes.IsFieldModified(FieldIDs.Workflow) && | |
!changes.IsFieldModified(FieldIDs.WorkflowState)) | |
{ | |
return; |
NewerOlder