Home / Function/ IsDebugging() — gin Function Reference

IsDebugging() — gin Function Reference

Architecture documentation for the IsDebugging() function in debug.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  b1f16d01_18e5_9b42_a392_9970201fd645["IsDebugging()"]
  ce2cf8e3_420b_e598_9442_8f932bc5cd59["debug.go"]
  b1f16d01_18e5_9b42_a392_9970201fd645 -->|defined in| ce2cf8e3_420b_e598_9442_8f932bc5cd59
  93c33259_c76f_4486_7d95_3b092f3c778b["debugPrintRoute()"]
  93c33259_c76f_4486_7d95_3b092f3c778b -->|calls| b1f16d01_18e5_9b42_a392_9970201fd645
  edad912d_c737_ec7c_18d7_ca1f15baded4["debugPrintLoadTemplate()"]
  edad912d_c737_ec7c_18d7_ca1f15baded4 -->|calls| b1f16d01_18e5_9b42_a392_9970201fd645
  11d01069_a77e_b36b_0898_4c80596b3dbe["debugPrint()"]
  11d01069_a77e_b36b_0898_4c80596b3dbe -->|calls| b1f16d01_18e5_9b42_a392_9970201fd645
  30f4a352_afcc_9483_5144_3abebac4c5ab["debugPrintError()"]
  30f4a352_afcc_9483_5144_3abebac4c5ab -->|calls| b1f16d01_18e5_9b42_a392_9970201fd645
  style b1f16d01_18e5_9b42_a392_9970201fd645 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

debug.go lines 22–24

func IsDebugging() bool {
	return atomic.LoadInt32(&ginMode) == debugCode
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does IsDebugging() do?
IsDebugging() is a function in the gin codebase, defined in debug.go.
Where is IsDebugging() defined?
IsDebugging() is defined in debug.go at line 22.
What calls IsDebugging()?
IsDebugging() is called by 4 function(s): debugPrint, debugPrintError, debugPrintLoadTemplate, debugPrintRoute.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free