Tutorials Navigation
Quick and handy debugging snippet
Tutorial Name: Quick and handy debugging snippet
Category: PC Tutorials
Submitted By: Sega
Date Added:
Comments: 0
Views: 639
Related Forum: PC Building Forum
Share:
This is something that I've started to use recently;
#if DEBUG
public
#else
internal
#endif
Basically, if you're in Debug compiling it'll make whatever follows public and if you're not in Debug compiling, it'll make it internal. This can be applied to just about anything;
#if DEBUG
public
#else
internal
#endif
static void Install()
#if DEBUG
public
#else
protected
#endif
virtual bool canGetStream
You can also have more than one modifier, but that's not commonly needed for debugging.
Ratings
Comments
Related Tutorials
- 01. Emulating Xbox 360 on PC for Running COD4 With Mods(3,502)
- 02. How to: Matrix Numbers | Batch File(1,908)
- 03. How to Password Protect Files on Windows(859)
- 04. How to play Socom 2/3/ and Combined Assault on PC(6,738)
- 05. Modern Warfare 2 Vac Ban Bypass Tutorial(6,147)
- 06. How to embed an image on TheTechGame(3,100)
- 07. [PC] NIOH 2 OTHER USER SAVE RESIGN(13,007)
- 08. Host bot lobbies! Full Tutorial!(11,299)
- 09. Unban yourself [Plutonium BO2](14,247)
- 10. Fall Guys - How to Change Your Name Color on Fall Guys(8,390)
- 11. Best Crosshair Settings for Valorant(6,530)
- 12. Othercide The Surgeon Boss Guide(2,544)
- 13. Othercide Remembrances Unlock Guide(4,470)
- 14. Othercide Beginners Tips and Tricks(2,712)
- 15. How to Fix Grounded Crashes, Loading Time, Low FPS and Other(4,848)
"Quick and handy debugging snippet" :: Login/Create an Account :: 0 comments