Unable to debug in vs 2008

  • Thread starter Thread starter aaa
  • Start date Start date
A

aaa

Hi all,

I am facing issue while debugging on vs 2008. i have windows service
whihc i want to debug.
but when i try to attach that service in vs2008, symbols are not
getting loaded.

i have both vs2008 and vs 2010 installed on system.
on vs 2010, symbopls are getting loaded properly.
but on vs2008 symbols are not getting loaded.

Same project i converted to 2008 and 2010.
can anyone please shed some light on it?

thanks.
 
Hi,

thanks for reply.

Actually my project was initially created in vs 2010. but then in
2008, i created new project and just copied cs files from 2010.
What i am getting at a time of debugging is , the module window is not
loading symbols.
and in attach to process window,my process's type is displayed as
TSQL, X86. Where as in 2010, type is displayued as maanged with
verison as 4.0

I am not sure, but it look like 2008, not getting current version from
symbol file.

thanks...
 
aaa said:
Hi all,

I am facing issue while debugging on vs 2008. i have windows service
whihc i want to debug.
but when i try to attach that service in vs2008, symbols are not
getting loaded.

i have both vs2008 and vs 2010 installed on system.
on vs 2010, symbopls are getting loaded properly.
but on vs2008 symbols are not getting loaded.

Same project i converted to 2008 and 2010.
can anyone please shed some light on it?

thanks.

Many have a console version of the program which they use to debug the
code, then when everything appears to be working they copy the relevant
files to their windows service.

If you're creating several windows services, then Topshelf may be worth
learning to use: http://topshelf-project.com/
 
Back
Top