| View previous topic :: View next topic |
| Author |
Message |
Bart van der Werf Guest
|
Posted: Wed May 02, 2007 5:09 pm Post subject: fastcode and aqtime |
|
|
We are using fastcode using the FastCode.Libraries-0.6.4.zip
and i'm getting reports from coworkers that profiling applications fails
with fastcode, but with the fastcode unit commented out, it does work in the
profiler.
is this expected behaviour ? |
|
| Back to top |
|
 |
Per Larsen Guest
|
Posted: Wed May 02, 2007 5:29 pm Post subject: Re: fastcode and aqtime |
|
|
"Bart van der Werf" <bluelive (AT) xs4all (DOT) nl> wrote in message
news:46387f6d$1 (AT) newsgroups (DOT) borland.com...
| Quote: | We are using fastcode using the FastCode.Libraries-0.6.4.zip
and i'm getting reports from coworkers that profiling applications fails
with fastcode, but with the fastcode unit commented out, it does work in
the profiler.
is this expected behaviour ?
|
No. This sounds like there might be a bug in the profiler's code analyzer.
Have you talked to the AQA people about it?
- Per |
|
| Back to top |
|
 |
Craig Peterson Guest
|
Posted: Wed May 02, 2007 7:41 pm Post subject: Re: fastcode and aqtime |
|
|
AQTime fails when you try to profile any self-modifying code. We had
the same problem with madExcept and the TNT Unicode controls. I asked
AutomatedQA about it a while ago and they recommended ignoring the
patched files using the Options->Files To Ignore menu item. If you're
not profiling something in the VCL, just add all the files in Delphi's
Source directory and you should be able to use AQTime and FastCode together.
Craig |
|
| Back to top |
|
 |
Bart van der Werf Guest
|
Posted: Wed May 02, 2007 11:29 pm Post subject: Re: fastcode and aqtime |
|
|
"Craig Peterson" <"craig no scootersoftware spam com"> wrote in message
news:4638a2a5$1 (AT) newsgroups (DOT) borland.com...
| Quote: | AQTime fails when you try to profile any self-modifying code. We had the
same problem with madExcept and the TNT Unicode controls. I asked
AutomatedQA about it a while ago and they recommended ignoring the patched
files using the Options->Files To Ignore menu item. If you're not
profiling something in the VCL, just add all the files in Delphi's Source
directory and you should be able to use AQTime and FastCode together.
|
Fastcode isn't in the delphi sources dir, but that could possibly work. |
|
| Back to top |
|
 |
Bart van der Werf Guest
|
Posted: Wed May 02, 2007 11:37 pm Post subject: Re: fastcode and aqtime |
|
|
"Per Larsen" <perATportablemindsDOTcom> wrote in message
news:4638842a$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Bart van der Werf" <bluelive (AT) xs4all (DOT) nl> wrote in message
news:46387f6d$1 (AT) newsgroups (DOT) borland.com...
We are using fastcode using the FastCode.Libraries-0.6.4.zip
and i'm getting reports from coworkers that profiling applications fails
with fastcode, but with the fastcode unit commented out, it does work in
the profiler.
is this expected behaviour ?
No. This sounds like there might be a bug in the profiler's code analyzer.
Have you talked to the AQA people about it?
|
Last time i spoke to them about it they claimed the program did bad things
with the stack and they can handle 'normal' programs fine. |
|
| Back to top |
|
 |
Craig Peterson Guest
|
Posted: Thu May 03, 2007 12:26 am Post subject: Re: fastcode and aqtime |
|
|
| Quote: | Fastcode isn't in the delphi sources dir, but that could possibly work.
|
You need to exclude the units that are being patched, not the ones doing
the patching. For example, FastMove modifies System.Move, so you need
to exclude System.pas, not FastMove.pas. If the FastCode routines
you're using patch their own units you'll need to exclude those too.
Craig |
|
| Back to top |
|
 |
|