Hi,<br><br>I'm running a simple program below. I'm trying to "step into" the "add" function. But Visual Studio 2005 and the Microsoft CLR Debugger (from the .Net 2.0 SDK) both complain that:<br>
<pre>"There is no source code available for the current location."</pre><pre><br></pre>They then offer me to view the disassembly. <br>Any ideas how to fix this?<br><br><br>Note that I do have "Enable Just My Code" turned on (which is the default).
<br><br>Thanks,<br>Julien Couvreur<font size="1"><br><font size="2"><a href="http://blog.monstuff.com">http://blog.monstuff.com</a></font></font><br><br><br><br>Repro steps:<br>1) save the code below to debugger.ipy<br>
2) Run ipy.exe debugger.ipy<br>
3) You should get a prompt to start debugging the code with your favorite debugger, accept it<br>
4) The code should be stopped at the breakpoint, you can step forward with F10 and then F11<br>
5) Trying to step into the call to the "add" method fails as described above<br><br>def add(a,b):<br> return a+b<br><br>import System.Diagnostics<br>System.Diagnostics.Debugger.Break()<br><br>print add(4, 4)
<br><br><br>