Profiler - output in the main window!

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Kazmirzak
User
User
Posts: 92
Joined: Fri Jun 18, 2004 5:44 pm
Location: Germany

Profiler - output in the main window!

Post by Kazmirzak »

It would be too great if profiler put his output right beneath the code lines (like the line numbers:)

Code: Select all

Nr| time in ms | Code

1   1            s$="Pure Basic"
2   3            for i=1 to 1000
3   1000         s$=left(s$,4)+"x"+right(s$,len(s$)-5)     
4   70             drawimage(imageid(bigimage)),10,10)
4   20             x+1
5   130          DrawText("Hallo",10,i)
6   3           next
7   22         Flip()
wouldn't it be FUN to improve line 3 to see the milliseconds melting!?!?
Please adopt that feature until, lets say, tomorrow night, i need to do some codefixing!!!!

P.S. this combines perfectly with adopting milliseconds in profiler :-)
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

This used to be on the PDS NES devkit - it showed 6502 cycle times after you typed the line. It was really useful, it would look great if this was in the profiler.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply