Purefiler - An alternative profiler

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

A new version is online => Purefiler now supports 64 Bit.
Though, in 64 Bit mode inline assembly is not compatible with Purefiler!
Go, tell it on the mountains.
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: Purefiler - An alternative profiler

Post by jassing »

Well that was fast!

Thanks
-j
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

jassing wrote:Well that was fast!

Thanks
-j
Thought it would be usefull to you ;-)
Go, tell it on the mountains.
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: Purefiler - An alternative profiler

Post by jassing »

Well -- good news is it seems to run (both 32 and 64). If I say "yes" to include purefiler, build takes much longer.
But, the bad news is neither result in data saved -- I launch purefiler and get a dialog telling me there is nothing available, and then it exits.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

Dumb question: Did you actually rub your built executable?
Go, tell it on the mountains.
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: Purefiler - An alternative profiler

Post by jassing »

Didelphodon wrote:Dumb question: Did you actually rub your built executable?
aye -- both letting it exit gracefully and pausing and/or killing the exe. Ran it for 30 seconds, and 2 hours; never anything for purefiler....
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

Purefiler needs a successful exit - so, no forced quit.
However, you said that you already had a successful exit - that makes me wonder, hm.
Do you find a Purefiler folder in your home-folder?
Go, tell it on the mountains.
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: Purefiler - An alternative profiler

Post by jassing »

Didelphodon wrote:Purefiler needs a successful exit - so, no forced quit.
However, you said that you already had a successful exit - that makes me wonder, hm.
Do you find a Purefiler folder in your home-folder?
nope.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

Tried a lot of things now on my system but couldn't get Purefiler to act as you described it.
Have you bound Purefiler to the "build" or "compile" event? It should be bound to "build".
Go, tell it on the mountains.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

A new build (142) is online. Details are in the "edit" area in the first post.
Go, tell it on the mountains.
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: Purefiler - An alternative profiler

Post by jassing »

Didelphodon wrote:A new build (142) is online. Details are in the "edit" area in the first post.
Now when I build, I get a dialog "Line 36866 EmptyWorkingSet() is not a function,array,list,map or macro" --This procedure is declared and if I build to an exe (vs: F5 to run it with PureFiler) the exe is built, runs correctly, and makes this call w/o issue.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

It's kinda hard to say from here what the reason is. You know your code best - maybe you can take a look at the file PB_EditorOutput.pb in your temp-folder right after building with Purefiler. This file contains all the altered sourcecode which matches to the error-line-number you got. I'm sure you'll find out what makes PB whine. If not and if you don't mind you can share the content of this file with me via PM so I can take a look.

However, I'm still not sure if you try to use Purefiler during normal compile (F5) or during building the executable.
Go, tell it on the mountains.
User avatar
ostapas
Enthusiast
Enthusiast
Posts: 192
Joined: Thu Feb 18, 2010 11:10 pm

Re: Purefiler - An alternative profiler

Post by ostapas »

Could you tell me please, is there an easy way to remove all "Purefiled Runs"? Currently I manually delete all *.pfl and *.pfr files from user profile directory, but its not very comfortable. Or did I miss something?
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

ostapas wrote:Could you tell me please, is there an easy way to remove all "Purefiled Runs"? Currently I manually delete all *.pfl and *.pfr files from user profile directory, but its not very comfortable. Or did I miss something?
Currently there's no way but deleting them manually. Do you feel that there is a "need" to add such a feature?
Go, tell it on the mountains.
User avatar
ostapas
Enthusiast
Enthusiast
Posts: 192
Joined: Thu Feb 18, 2010 11:10 pm

Re: Purefiler - An alternative profiler

Post by ostapas »

Didelphodon wrote: Do you feel that there is a "need" to add such a feature?
Hm, it seems like a downright necessary feature, at least for me :) Shouldn't it take just several minutes to implement?
Post Reply