View Single Post
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-18-2018 , 14:09   How to debug plugins most easily?
Reply With Quote #1

Hi,

so, you faced with a bug, next you fixed it and would like to test plugin again.

-> compile -> replace on server...

What is a fastest way to check everything okay?

1) E.g., are there a command to force reloading all plugins without server full restart?

2) How do you place "assert-s". Are you placing something like "PrintChatAll" at some key places in plugin code to see in-game that every variable works fine? What is a most convenient way?

3) Is there special IDE for SourcePawn?

Another tips...

P.S. I worked on L4d1 plugins 2 years ago. Just trying to refresh memories and improve knowledges.

Thanks,
Alex.

Last edited by Dragokas; 02-18-2018 at 14:12.
Dragokas is offline