473,320 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Adding special behaviour to debug process

Hi!
Does anyone know how to adjust (if it's possible) VS to copy a file from one
directory to another before debugging program?

Thanks.
Nov 15 '05 #1
5 1234
Dmitry,

I don't think that there are pre-debug steps in the debugger. You would
have to have a batch file or something of the sort which would do it, and
then would run the debug version of your program. You can modify the
project so that instead of running your app, it will run your batch file,
which would then run the program (the debug build, of course).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
Hi!
Does anyone know how to adjust (if it's possible) VS to copy a file from one directory to another before debugging program?

Thanks.

Nov 15 '05 #2
Hi Nicolas!
Thanks for advice.
Is there a way to retrieve a script which VS currently using for
compliling/debugging my solution?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
сообщил/сообщила в новостях следующее:
news:eV**************@TK2MSFTNGP09.phx.gbl...
Dmitry,

I don't think that there are pre-debug steps in the debugger. You would have to have a batch file or something of the sort which would do it, and
then would run the debug version of your program. You can modify the
project so that instead of running your app, it will run your batch file,
which would then run the program (the debug build, of course).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
Hi!
Does anyone know how to adjust (if it's possible) VS to copy a file from

one
directory to another before debugging program?

Thanks.


Nov 15 '05 #3
Dmitry,

What do you mean by retrieve a script?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:el**************@TK2MSFTNGP10.phx.gbl...
Hi Nicolas!
Thanks for advice.
Is there a way to retrieve a script which VS currently using for
compliling/debugging my solution?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
сообщил/сообщила в новостях следующее:
news:eV**************@TK2MSFTNGP09.phx.gbl...
Dmitry,

I don't think that there are pre-debug steps in the debugger. You

would
have to have a batch file or something of the sort which would do it, and then would run the debug version of your program. You can modify the
project so that instead of running your app, it will run your batch file, which would then run the program (the debug build, of course).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
Hi!
Does anyone know how to adjust (if it's possible) VS to copy a file
from one
directory to another before debugging program?

Thanks.



Nov 15 '05 #4
By script I mean commands and parameters VS use to complile my solution.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
сообщил/сообщила в новостях следующее:
news:OI**************@TK2MSFTNGP10.phx.gbl...
Dmitry,

What do you mean by retrieve a script?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:el**************@TK2MSFTNGP10.phx.gbl...
Hi Nicolas!
Thanks for advice.
Is there a way to retrieve a script which VS currently using for
compliling/debugging my solution?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
сообщил/сообщила в новостях следующее:
news:eV**************@TK2MSFTNGP09.phx.gbl...
Dmitry,

I don't think that there are pre-debug steps in the debugger. You

would
have to have a batch file or something of the sort which would do it, and then would run the debug version of your program. You can modify the
project so that instead of running your app, it will run your batch file, which would then run the program (the debug build, of course).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
> Hi!
> Does anyone know how to adjust (if it's possible) VS to copy a file from one
> directory to another before debugging program?
>
> Thanks.
>
>



Nov 15 '05 #5
Dmitry,

I don't think that you can get that from inside your program. The
reason is because you are not always going to be running your program from
within the context of a debugger.

What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
By script I mean commands and parameters VS use to complile my solution.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
сообщил/сообщила в новостях следующее:
news:OI**************@TK2MSFTNGP10.phx.gbl...
Dmitry,

What do you mean by retrieve a script?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Dmitry Karneyev" <ka******@msn.com> wrote in message
news:el**************@TK2MSFTNGP10.phx.gbl...
Hi Nicolas!
Thanks for advice.
Is there a way to retrieve a script which VS currently using for
compliling/debugging my solution?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>
сообщил/сообщила в новостях следующее:
news:eV**************@TK2MSFTNGP09.phx.gbl...
> Dmitry,
>
> I don't think that there are pre-debug steps in the debugger. You would
> have to have a batch file or something of the sort which would do it,
and
> then would run the debug version of your program. You can modify
the > project so that instead of running your app, it will run your batch

file,
> which would then run the program (the debug build, of course).
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard.caspershouse.com
>
> "Dmitry Karneyev" <ka******@msn.com> wrote in message
> news:OL**************@TK2MSFTNGP09.phx.gbl...
> > Hi!
> > Does anyone know how to adjust (if it's possible) VS to copy a

file from
> one
> > directory to another before debugging program?
> >
> > Thanks.
> >
> >
>
>



Nov 15 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: arachno | last post by:
Hello ppl, Is anyone can help me to figure out how to add data to TextML server document base? I have attached snipped, which taking XML source from file and adding it to documentbase, but my...
4
by: Stephen Miller | last post by:
Hi, I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net application running locally, using a full URL (ie www.mysite.com). When I hit F5, I get the following error message: ...
0
by: theintrepidfox | last post by:
Dear Group I came accross a very annoying behaviour of Visual Studio, giving me six hours of headache till I found the solution. This post is mainly for fellow developers for reference as it...
47
by: Pierre Barbier de Reuille | last post by:
Please, note that I am entirely open for every points on this proposal (which I do not dare yet to call PEP). Abstract ======== This proposal suggests to add symbols into Python. Symbols...
4
by: Saurabh Aggrawal | last post by:
Hi, I have made a dll and it is working fine in the debug build (as expected) but when I run it in the release build it is working strangely. For example, the dll saves the 10 properties on the...
12
by: pauldepstein | last post by:
I am debugging a program to price options which involves a recursive function: double node::get_equity(Parameter * const params_ptr, int x, int y, const int rights) This recursive function is...
3
by: _DS | last post by:
The two obvious methods for ref'ing assemblies are: Add a reference and 'Browse' for the actual DLL OR Add existing project to the solution, then add a ref to 'Project'. 1: I'd like to...
7
by: Sam Kong | last post by:
Hello! My question would not be very practical but just out of curiosity. In JavaScript, Array is a subclass of Object. Well maybe not exactly... but sort of... For normal objects, you can...
0
by: dadizhu | last post by:
Hi, everyone. I ran into an UI freeze issue with threading and simplied the problem down to the following sample code. The logic is as follows: 1. The main UI thread creates a non-UI STA...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: ShФllНpТpО 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.