0

When I build the System.Web-net_4_0.sln, (Ubuntu12.04, monoDevelop), result is build successful, then I try to debug the System.web.dll using the Test console application:

        public static void Main (string[] args)
    {
        System.Web.UI.Page page=new System.Web.UI.Page();\\**Make a breakpoint here**
        page.ProcessRequest(null);
    }

the result is :

Symbol file /home/symphony/mono/mcs/class/System.Web/test/bin/Debug/System.Web.dll.mdb doesn't match image /home/symphony/mono/mcs/class/System.Web/test/bin/Debug/System.Web.dll

any body can help me?

1 Answer 1

0

After building the sln, did you run "sudo make install" (with the shell, in the mcs/class/System.Web/ folder) so the new DLL gets into your GAC and all?

Also, it may be better to build the assembly via "make" instead of building the SLN file. I don't think the build system is using the SLN files for building, they are just there so it is easier for you to hack the Mono sources within an IDE.

3
  • I had try that. My purpose is to step into the Framework code(Specifically System.Web.Dll), all assembly work normal ,but when I try with System.web.dll ,it doesn't work? there is some special restrictions in System.web.dll? Sep 13, 2012 at 6:43
  • 1
    Did you uncheck the MonoDevelop option Edit->Options->Preferences->Debugger->Debug project code only; do not step into framework code?
    – knocte
    Sep 13, 2012 at 11:25
  • yes, I do.I supsect option Build ->Compiler->General Options ->Define Symbols DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;INSIDE_SYSTEM_WEB;WEBSERVICES_DEP;MONOWEB_DEP;SYSTEMCORE_DEP, means somethings? do this can provide you valuable information ?(I am from china,thank you for the responses) Sep 13, 2012 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.