Hello all,
I built a Profiling Reporting tool that sits on top of the TraceTree System class. (and TraceFile). The application generates a report of a trace PBP file on demand. My tool opens the trace and parses its data structures into datawindows for analysis. It does not show any corresponding source code lines. Just trace timing and call frequency. The tool works as expected if I generate traces from runs on my machine with my pathing. It does not matter if I am tracing in an IDE run or a 32 or 64 bit EXE. The TraceTree.BuildModel( ) returns a success! code and I get my data
BUT if someone else generates a PBP file for the same application, with the same source (PBLs) files, but located in folder whose directory structure differs from mine, I cannot open it. BuildModel returns a sourcePblError! errorcode. That person can run my tool on their PBP file and view their trace.
When I run the built in Trace tool and choose a specific PBT file. it translates that error into 'The source libraries cannot be found, so the model cannot be built". I see that choosing the same Target whose folder location differs from that of the original runner, does not allow source loading.
Questions:
1) Is there specific pathing or LibList information stored inside he PBP file such that if there is a mismatch an error will be returned?
2) The stock tool prompts for a PBT. But I cannot find any TraceTree method that is used to set the PBT. How do you vary the PBT and when need it be done?
3) The stock Profiling Trace View does not have a source display element. Why does it need the PBT file?
4) Is there any source code available for the 3 Trace tools on the New Tool menu?
Thanks