Javascript - Function call will not enter function body
<p>I have a function acting as a constructor that, when called, gets as far as the function definition in the debugger, but never to the function body.  Is there a common reason this may happen that I am overlooking?  Example code below:</p>

<p>myconstructor.js</p>

<pre><code>function MyConstructor(optionalParam) { //this breakpoint gets hit
    var newobj = {}; //breakpoint never hit
    //code to check for null parameter
    //other code
};
</code></pre>

<p>main.js</p>

<pre><code>var myConstructor = new MyConstructor();
</code></pre>

<p>There must be something I have overlooked, but I can't see what that is.  Neither firefox/firebug nor VS report errors or warnings.</p>

<p>Thanks!</p>
