Title:
Bug 74853:When CF appends the _cf_nodebug=true URL parameter to requests the IsDebugMode() function returns YES
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Nathan Mische / Nathan Mische (nmische.wharton)
Created: 01/08/2009
Components: Language, Functions
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Win All
Vote Count: 1
Problem:
When CF appends the _cf_nodebug=true URL parameter to requests the IsDebugMode() function returns YES.
Method:
Run the following .cfm with the _cf_nodebug URL parameter set to true. (ie. index.cfm?_cf_nodebug=true)
---------------------- index.cfm --------------------------
<html>
<head>
<title>Centaur Tests</title>
</head>
<body>
<h1>Debugging Mode Test</h1>
<cfoutput>IsDebugMode(): #IsDebugMode()#</cfoutput><br/>
<cfset factory = CreateObject("java","coldfusion.server.ServiceFactory")>
<cfset cfdebugger = factory.getDebuggingService().getDebugger()>
<cfoutput>Debugger running: #IsDefined("cfdebugger")#</cfoutput><br/>
</body>
</html>
---------------------- end index.cfm --------------------------
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037205
External Customer Info:
External Company:
External Customer Name: Nathan Mische
External Customer Email: 6FB922863C8E1EBF992001AC
External Test Config: 01/08/2009
Attachments:
Comments: