I have a cloud service which is having a webrole project.
I have put the break points in Webrole.cs class file and Gloabal.asax class file
When I try to debug the cloud service, only Gloabal.asax file debugger is getting fired. But it never goes to the webrole class file debugger. The debugger symbols are loaded properly.I am able to debug my WCF service but not able to debug Webrole class
file.
FYI I set cloud service project as startup project and both cloud and webrole projects running under iisexpress.
Even whatever tracing information I put in the onstart and run methods inside webrole are also not logged.
In WaIISHost.log file I can see the last entry as below.
WaIISHost Information: 0 : [00007080:00000001, 2016/05/16 12:09:56.562, INFO ] Role initialized completely, will wait forever
Could somebody help me to identity the possible issue. Please let me know if you need any further information.
I found the solution to my problem. Just want to update incase any one having same problem as me. I am having Azure SDK and diagnostic 2.6 version dlls but I am having emulator 2.9 version. This caused the problem. I uninstalled 2.9 emulator version and
installed the 2.6 version emulator which matches to my SDK and Diagnostic version dlls. This solved my problem.
I think the solution suggested by Mohan is quite appropriate. Alternatively, you can also visit sites that offer solutions related to Azure integration and Microsoft. You can find more about this here: http://dynamics.folio3.com/
Member
2 Points
21 Posts
Azure web role not able to debug even though symbles loaded
May 17, 2016 05:09 AM|mohan089|LINK
I have a cloud service which is having a webrole project.
I have put the break points in Webrole.cs class file and Gloabal.asax class file
When I try to debug the cloud service, only Gloabal.asax file debugger is getting fired. But it never goes to the webrole class file debugger. The debugger symbols are loaded properly.I am able to debug my WCF service but not able to debug Webrole class file.
FYI I set cloud service project as startup project and both cloud and webrole projects running under iisexpress.
Even whatever tracing information I put in the onstart and run methods inside webrole are also not logged.
In WaIISHost.log file I can see the last entry as below.
WaIISHost Information: 0 : [00007080:00000001, 2016/05/16 12:09:56.562, INFO ] Role initialized completely, will wait forever
Could somebody help me to identity the possible issue. Please let me know if you need any further information.
Member
2 Points
21 Posts
Re: Azure web role not able to debug even though symbles loaded
May 17, 2016 10:39 AM|mohan089|LINK
I found the solution to my problem. Just want to update incase any one having same problem as me. I am having Azure SDK and diagnostic 2.6 version dlls but I am having emulator 2.9 version. This caused the problem. I uninstalled 2.9 emulator version and installed the 2.6 version emulator which matches to my SDK and Diagnostic version dlls. This solved my problem.
None
0 Points
1 Post
Re: Azure web role not able to debug even though symbles loaded
Jun 10, 2016 07:54 AM|liasa|LINK
I think the solution suggested by Mohan is quite appropriate. Alternatively, you can also visit sites that offer solutions related to Azure integration and Microsoft. You can find more about this here: http://dynamics.folio3.com/