Profiler Extension Causes PWB to Assume Build Info Has Changed

ID Number: Q73755

1.00 1.20 | 1.00 1.20

MS-DOS | OS/2

buglist1.00

Summary:

When the PWB extension supplied with the Microsoft Source Profiler

version 1.0 or 1.2 is loaded into the Programmer's WorkBench (PWB),

version 1.0 or 2.0, PWB may unexpectedly generate a message indicating

that build options have changed whenever a build is attempted.

More Information:

This problem occurs after loading either the real-mode (PWBPROF.MXT)

or protected-mode (PWBPROF.PXT) Profiler extension. If a program list

is set and you select Build from the Make menu, PWB generates the

following message:

Build Information has changed

Do you want to rebuild everything?

If you select Yes, PWB will rebuild the entire project, even though

nothing has actually changed that you did not explicitly modify.

Choosing No will rebuild only the modified components that you

changed.

The problem occurs because the Profiler extension is rewriting parts

of the .MAK file when the program list is loaded, even though it is

not necessary. Because the makefile has been updated, PWB determines

that some build information has changed and so the above error message

is generated. The Profiler extension is not actually altering any of

the build information, so responding No to the message box is safe

(that is, you still get a completely up-to-date build).

Microsoft has confirmed this to be a problem in the Source Profiler

version 1.0. We are researching this problem and will post new

information here as it becomes available.