Forum C# Breakpoints are not hit on Dev Server.

Breakpoints are not hit on Dev Server.

Postby Vania » July 10th, 2012, 10:34 pm

It says breakpoints will not be hit because symbols have not been loaded.
Cannot debug in the Dev server.
I fixed the problem once by making a new solution from scratch but now it happened again.

Been looking for answers in Stackoverflow but nothing works...
Vania
 
Posts: 198
Joined: March 24th, 2010, 9:01 pm

Re: Breakpoints are not hit on Dev Server.

Postby Vania » July 10th, 2012, 10:55 pm

I deleted the project's .suo and .csproj files and rebuilt and it's working for now.
Vania
 
Posts: 198
Joined: March 24th, 2010, 9:01 pm

Re: Breakpoints are not hit on Dev Server.

Postby Henrik » July 11th, 2012, 9:56 am

Vania wrote:I deleted the project's .suo and .csproj files and rebuilt and it's working for now.

That makes absolutely no sense at all. The .csproj file contains the project definition, i.e. which files to include for compilation, which main class to run, and what type of project it is. If you delete that, there's no project, there's nothing to compile, nothing to run, nothing to debug?

Did you perhaps have too many projects in your solution? Did you set your references wrong so that your startup project doesn't reference your game?
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Breakpoints are not hit on Dev Server.

Postby Vania » July 11th, 2012, 6:28 pm

Ahh, I think it was csproj.user or something like that. The .csproj I did not touch.

I dont know... there's just the two usual projects: TestServer and GameCode.
The startup is set to TestServer project.
But it's working now...
Vania
 
Posts: 198
Joined: March 24th, 2010, 9:01 pm

Re: Breakpoints are not hit on Dev Server.

Postby Vania » July 12th, 2012, 10:25 pm

I also deleted the bin and obj folders.
Vania
 
Posts: 198
Joined: March 24th, 2010, 9:01 pm


Return to C#



cron