Unable to debug in vs 2008


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.
 
Ad

Advertisements

A

aaa

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...
 
Ad

Advertisements

J

Jason Keats

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top