Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Debugging in Visual Studio
Collapse
X
-
First look at the Visual Studio Debugger- Set a breakpoint and start the debugger.
- Navigate code in the debugger using step commands.
- Step over code to skip functions.
- Step into a property.
- Run to a point in your code quickly using the mouse.
- Advance the debugger out of the current function.
- Run to cursor.
Leave a comment:
-
Hello ciro1963,
Thank you for the post.
You would need to attach and set a breakpoint followed by running the script that you want to check in the platform. This also will entail you include the script in the project using the solution explorer, this is so intellesense works and the debug symbols will be matched. Once you have a breakpoint set and it shows up as solid Red and not hollow white, that should be hit the next time that code is executed. Once the code execution is paused you should be able to view variables and other data the script is using before continuing.
For this topic, I would generally suggest taking a short video of the process you are following as that would allow us to see the whole scope of the question and actions you have taken to further address this.
I look forward to being of further assistance.
- Likes 1
Leave a comment:
-
Debugging in Visual Studio
Hello- I'm trying to run my strategy on Visual Studio. I followed the directions in the ninjatrader video that was supplied in the forum on this issue but still no luck. I did select " debug" in the code and compiled. When I attatch process from visual studio the program states that it's " running". It doesn't seem to do anything . I can't see any data. I'm trying to debug a strategy - not an indicator. How does the visual c program pick the primary instrunent? Do I start the strategy in ninjatrader and then attatch ?Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by elirion, Today, 01:36 AM
|
0 responses
3 views
0 likes
|
Last Post
by elirion
Today, 01:36 AM
|
||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 01:30 AM | ||
Started by samish18, Yesterday, 08:31 AM
|
2 responses
9 views
0 likes
|
Last Post
by elirion
Today, 01:28 AM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
16 responses
391 views
0 likes
|
Last Post
by z.franck
Today, 01:04 AM
|
||
Started by rtwave, 04-12-2024, 09:30 AM
|
4 responses
34 views
0 likes
|
Last Post
by rtwave
Today, 12:50 AM
|
Leave a comment: