Activity overview
Latest activity by jdsuchen
Hi
>- Start ANTS Profiler.
>- Hit Cancel on the "Performance Profiler Settings" dialog.
>- Go to Tools > Options and uncheck the "Include source code with saved results" option, then hit OK.
>- Now click File > New Profiling Session.
>- Profile your application.
>- Look at some methods with source code and see if the source view displays them correctly.
>
>Can you let me know the results of this please?
It's worked, thanks very much.
herry / comments
Hi
>- Start ANTS Profiler.
>- Hit Cancel on the "Performance Profiler Settings" dialog.
>- Go to Tools > Options and uncheck the "Include source code with saved results" option, then hit OK.
>- Now...
Hi
Very happy can see the answer, thinks.
I try to modify the [PerformanceProfilerUISettings.xml] file
===================================================================
<SourceViewFont FamilyName="MS UI Gothic" EmSizePoints="10" Style="Regular" />
===================================================================
But cannot demonstrate correctly.
I think when source file read, [ANTS Performance Profiler 4] selected encoding is error.
my source file encoding is the [unicode code 1200], but [ANTS Performance Profiler 4] cannot specific the source file encoding.
Sample code
=============================================================
string sourceCode = string.Empty;
using (System.IO.StreamReader sr = new System.IO.StreamReader("test.cs", System.Text.Encoding.Unicode))
{
sourceCode = sr.ReadToEnd();
}
//to do...
=============================================================
Remark:
Encoding.Unicode = [unicode code 1200]
herry / comments
Hi
Very happy can see the answer, thinks.
I try to modify the [PerformanceProfilerUISettings.xml] file
===================================================================
<SourceViewFont FamilyName...
Source file encoding bug
Hi
When the source file encoding is the [unicode code 1200], cannot demonstrate correctly
herry