Greetings Monks,

For last three weeks, I am struggling to re-engineer a interatctive webpage code, without right environment, not even an editor. 

The environment consist of :
Windows Server 2003 running IIS .
Uses predominently mod_perl, then JSON, JS, AJAX etc.etc.. etc..

I badly need two things :
1) How to debug? What IDE is right for this? (if I change anything in hash that is used in template, it crashes)
2) How to or How easy it is to setup a server in my local box? what debugging environment is ideal?
--------------------------------
Just incase you need more info about where I am stuck, what I was doing for last 3 weeks etc, :

Though I am not novice in PERL, all the mod_perl,IIS,JSON are new for me. All these 3 weeks of study, I understood the portion of the architecture, low level design, but could not enhance anything as user asks.

To study it, when I change member variables in $var that goes in process(template.html,$var), and try to see visit the page, IIS displays 'CGI Program misbehaved' as error. The log files have literally no information, like file name, error line nothing.. Only if I print some statements in cgi programs I am able to see something, but no information, line number where it crashes.


In reply to ModPerl IIS by Kargil Jay

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.