-
Mar 30th, 2012, 08:14 PM
#1
how to examine params in debugger?
Sounds like a common question but I couldn't google my way out of it.
I expected the params variable to show up in the variables tab when I stepped into the controller. Perhaps this explains why my params are not getting passed to my controller since I upgraded to STS 2.9.1
I tried installing the debug plugin but I must have misunderstood how to configure it:
"Logging must be configured to level "info" for logger grails.app.filters:
log4j.logger.grails.app.filters='info'"
I could not figure out from that what to add to which file, where. Doesn't map to what I know about config.groovy.
-
Mar 30th, 2012, 09:35 PM
#2
ok found a way
a) use println, fergit about logging
b) even if there is no way to see the params variable in the debugger, just loop thru the params and println what you want to the console.
http://grails.1312388.n4.nabble.com/...td2964628.html
Sure is disheartening to have so much grief just for selecting grails and STS as tools to use. I noted that many if not most posts have zero responses. Sad.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules