SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    933
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    How to properly debug?

    Hi guys

    I have a form and the form is for editing a record.
    And for example I try to change the content of a record,
    And press the save button the form is not saved (meaning the data is not modified).

    This Editing form works properly before.
    For some unknown reason it's now not working and not saving the modified content of a record when I press the save button.

    So how to debug this properly?
    Any php tools that you can recommend?

    By the way it is under CodeIgniter mixed with JavaScript, Bootstrap, jQuery-UI etc...
    Any tips and tricks to catch the culprit easily?

    Thank you very much in advance.
    Quality codes are optimized and tested...
    Click here for inspiration..

  2. #2
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    933
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    The error_log I think is a BIG help.
    Quality codes are optimized and tested...
    Click here for inspiration..

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2007
    Posts
    51
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    For PHP, I'm using Xdebug. It's pretty neat as it's giving you a stack trace so you can see exactly what caused the error.

  4. #4
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    933
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    @Avram ;
    Thanks dude will try that.
    Quality codes are optimized and tested...
    Click here for inspiration..


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •