[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::visual

Title:Microsoft Visual C++ bug reports and kits
Notice:Register in Topic 2. 5.Last for latest Kit
Moderator:DECWET::THOMASN
Created:Tue May 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:521
Total number of notes:2938

483.0. "VC5.0 - Profiling?" by NETRIX::"[email protected]" (Stephen Moore) Mon Mar 17 1997 23:44

Hi,

Can't seem to get the profiler to work for me with the V5 Alpha kit.

My program is simple ..

  #include<iostream>
  #include<string>

  using namspace std;

  void main()
  {
    cout << "HELLO WORLD" << endl;
  }

I enable profiling with Project - Setting - link - enable profiling. Then 
build my program, set Build - Profile - Function Timing, and execute it. I 
get a Profile window in the output window but nothing appears, even after the
program has finished and then selecting, Build - Stop Profiling, nothing
appears.

Have I missed something simple - I'm confused?

Cheers
Steve

 
void
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
483.1DECWET::MUPOPATue Mar 18 1997 10:451
I am looking into this problem.
483.2Possible profiler from SDK | DDK in path, try new profiler from FTP siteDECWET::MUPOPAThu Mar 20 1997 11:0811
Some people have found they had older versions of the profiler
from either installing SDK or DDK on their system.

If that is not the case try a set of new profiler files on
      oleum.zso.dec.com [16.64.0.44]  (anonymous FTP)
in directory pub/vcxx/kits/profiler : 
  66048 Mar 20 10:52 plist.exe
 100864 Mar 20 10:52 prep.exe
 185856 Mar 20 10:53 profile.dll
  48128 Mar 20 10:52 profile.exe
   2528 Mar 20 10:53 profiler.ini
483.3DECWET::MUPOPAThu Mar 20 1997 15:562
I have encountered some failures to profile in 
debug mode but not in release mode of a Win32 App.
483.4Thanks...NETRIX::&quot;[email protected]&quot;Stephen MooreThu Mar 20 1997 21:586
.. I haven't tried your suggestions yet, but I'll let you know as
soon as I do.

Cheers
Steve
[Posted by WWW Notes gateway]
483.5further observationsDECWET::MUPOPAMon Mar 24 1997 10:244
For Win32 applications, the profiler will fail in debug mode
for codes generated with compiler options "/MDd  /D_DEBUG_"
but will succeed with release options "/MD  /DNDEBUG_".