Announcement Announcement Module
Collapse
No announcement yet.
how to examine params in debugger? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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.

    Comment

    Working...
    X