Hello,
I would like to get more details about debugging and compilation.
https://www.multicharts.com/trading-sof ... 12/Express
1) When a study is compiled rather than debugged, does it mean we cannot modify the code anymore?
1 bis) May be only with MS Visual Studio?
2) When do we need to rebuild rather than build?
(may be for the assemblies?)
So far, I only used "Debug" to verify my studies and they work fine....
Thank you!
Compilation or debugging?
-
- Posts: 23
- Joined: 17 Mar 2010
- Has thanked: 20 times
- Been thanked: 2 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Compilation or debugging?
Hello Tartalognion,
1. You can always change the source code. You need to recompile the study after any modifications were done.
2. You need to rebuild when there were many changes in the project.
1. You can always change the source code. You need to recompile the study after any modifications were done.
2. You need to rebuild when there were many changes in the project.
-
- Posts: 23
- Joined: 17 Mar 2010
- Has thanked: 20 times
- Been thanked: 2 times
Re: Compilation or debugging?
Hello Henry,
From my little knowledge about coding, when you compile a code written in C# or VB in Visual Studio, you create, for example, EXE or DLL files.
From what I understand, To compile means, that the piece of code created is now a standalone product which can be executed without the Editor.
On the opposite, To Debug means that you run the code into the Editor.
In the case of MC. NET what is the difference as a study can run into a chart, either debugged or compiled ?
Regarding your answers, I assume that we have to rebuild a study, for example when we've modified a function used by this study. Am I right?
Thank you.
From my little knowledge about coding, when you compile a code written in C# or VB in Visual Studio, you create, for example, EXE or DLL files.
From what I understand, To compile means, that the piece of code created is now a standalone product which can be executed without the Editor.
On the opposite, To Debug means that you run the code into the Editor.
In the case of MC. NET what is the difference as a study can run into a chart, either debugged or compiled ?
Regarding your answers, I assume that we have to rebuild a study, for example when we've modified a function used by this study. Am I right?
Thank you.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Compilation or debugging?
The corresponding file is created in both cases. The difference is in the debugging information and code optimization.
Debug configuration is required for development and debugging of the studies. Release configuration is required for the final assembly.
Debug configuration is required for development and debugging of the studies. Release configuration is required for the final assembly.