[ANY] [Debugger] Valve Profiler
2 Attachment(s)
What is it for?
Description: Provides an easy way to run a valve profiler with one single command and save a log to a separate file.Graph includes: - Game + plugin functions call stackWARNING - Be careful, if you install it on the Live server! Stopping the profiler will cause a significant lag due to the analysis process. Actually, it can freeze you > 10 sec.Direct analysis of profiler logs is not provided in this topic. Create your own topic in "General" section of the forum to get some help. Requirements and Compatibility: - SourceMod v1.11.6726+ConVars: - NothingCommands: - !debug - start/stop the profilerLog location: - addons/sourcemod/logs/profiler__<date>_<time>.logInstallation: - copy .smx to addons/sourcemod/pluginsCredits: - Valve & SM dev. teamReplated plugins: - Auto-VPROF by KiD FearlessDonate Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often: |
Re: [ANY] [Debugger] Valve Profiler
For some reason it's not producing logs for me, I've loaded the plugin manually and made the suggested changes.
The debugger starts and freezes briefly on stop, but there's no logs anywhere. |
Re: [ANY] [Debugger] Valve Profiler
Game? Platform?
|
Re: [ANY] [Debugger] Valve Profiler
Quote:
Left 4 Dead 2, Linux Server. |
Re: [ANY] [Debugger] Valve Profiler
Well, it seems Valve broke "con_logfile" ConVar in the latest Left 4 Dead 2 update. I opened the issue.
You can still retrieve the profiler's log from console.log until I push the update. |
Re: [ANY] [Debugger] Valve Profiler
Updated to v1.1
Quote:
Quote:
Quote:
|
Re: [ANY] [Debugger] Valve Profiler
I'm still unable to have any logs saved, it seems to not "finish" properly.
If I start the debugger, and end it after a bit, it'll print out that it's saved, but the file doesn't exist. When starting it again later, the server fps is significantly lower than what it was the first time I started the debugger, making it seem like something else is still running. If I keep starting and stopping it, the server fps will dip lower and lower (turning it off does return the server to its full performance however) |
Re: [ANY] [Debugger] Valve Profiler
I've no idea why that happens to you.
Try to enter such commands in rcon manually and see what's reported to you. Code:
vprof_on |
Re: [ANY] [Debugger] Valve Profiler
It prints to console as expected, it just won't dump it for some reason?
I couldn't find it in the console log either. |
Re: [ANY] [Debugger] Valve Profiler
So, did you receive the output of the profiler in rcon console similar to the one attached in 1st post?
Try to add such arguments to server startup options: Code:
-debug -condebug -console -usercon -nowatchdog |
Re: [ANY] [Debugger] Valve Profiler
Added notice: vprof walkaround is no more need since the crash was fixed in SM v1.11.6726 by asherkin.
|
Re: [ANY] [Debugger] Valve Profiler
Posting as I found a bug. When you start the debug process and then stop it the plugin will print to chat that the .log file was generated but nothing actually does.
|
Re: [ANY] [Debugger] Valve Profiler
Same for me, won't dump any log files in addons/sourcemod/logs/, usin vds linux l4d2
Edit: Sorry, didn't notice your previous reply, fixed by this |
Re: [ANY] [Debugger] Valve Profiler
Quote:
SourceMod 1.11.0.6913 EDIT: nvm, this fixed it: Quote:
|
| All times are GMT -4. The time now is 22:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.