Visual C++ 6's profiler crashing
I recently applied service pack 5 to visual studio, and since then (it may or may not be the service pack, I suppose I could have fudged something myself , Visual C++ 6''s profiler has refused to work. When I try to run the usual function timing profiler, it comes up with a Page Fault in PREP.EXE, and the profiler doesn''t run.
Does anyone know what the heck happened, and how/if it can be fixed short of reinstalling MSVC? Is there a project setting that can screw things up like this?
Thanks for any advice,
Anthracks
i also have sp5, but don''t know how to use the profiler. if you told me how to use it, i could see if the problem is reproducable.
For some inexplicable reason, the problem went away last night after I hadn''t changed a thing, heh, but just for your info here''s how you use the profile:
Go to the Project menu, and then choose Settings. On the Link tab, just click Enable Profiling checkbox and hit OK. Now, go to the Build menu and choose Profile. Click on whatever kind of profiling you want (Function Timing I think is the most useful, it shows every single function in your program and how long it to run, and what percent of total time it took, etc). Then click ok, and wait. Eventually your program will run. Do whatever you normally would, and then quit your game, and all the profiling info will show up on screen. Really useful for deciding which version of a function is faster, or where the biggest slowdowns in your program are.
Let me know if you need more advice,
Anthracks
Go to the Project menu, and then choose Settings. On the Link tab, just click Enable Profiling checkbox and hit OK. Now, go to the Build menu and choose Profile. Click on whatever kind of profiling you want (Function Timing I think is the most useful, it shows every single function in your program and how long it to run, and what percent of total time it took, etc). Then click ok, and wait. Eventually your program will run. Do whatever you normally would, and then quit your game, and all the profiling info will show up on screen. Really useful for deciding which version of a function is faster, or where the biggest slowdowns in your program are.
Let me know if you need more advice,
Anthracks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement