Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using Visual Studio Debugging

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Using Visual Studio Debugging

    Hi,

    I refer to the link below on Visual Studio Debugging and would appreciate some guidance on it.

    NinjaTrader 8

    Under step 1, after enabling debug mode on ninjascript editor, it says compile your scripts to create the debug DLL​ What does this mean and how do i do that?
    Under step 3, it says, " in Visual Studio, select Debug, then select Attach to Process." Debug tab or dropdown, doesn't appear on Visual Studio. Is there some module that needs to be installed?

    Regards

    Kay Wai

    #2
    Hello Kay Wai,

    Thank you for your post.

    The step of compiling your scripts after enabling Debug Mode is very important. You may compile by either right-clicking again and selecting Compile or by using the F5 keyboard shortcut. You should not launch Visual Studio until after you have enabled debug mode and compiled successfully. Then, when you launch Visual Studio, you should be able to locate the "Debug" dropdown menu at the top of the screen:


    Otherwise, you could try the keyboard shortcut for Attach To Process which is Ctrl + Alt + P by default. From there, you should be able to continue following the instructions outlined on this page:


    Please let us know if we may be of further assistance.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      Hi Emily,

      Thank you for your reply

      I followed what was written in the NT8 Help Guide as above as well as what you suggested. I followed Step 1 as you instructed.
      Step 2 was fine too. I managed to get NinjaTrader.Custom.csproj open on VS 2022 and that's where things started to differ.

      This is what my VS 2022 Dropdown menu headers look like after following the instructions:-

      Click image for larger version

Name:	image.png
Views:	37
Size:	6.3 KB
ID:	1297703

      There is no DEBUG on my VS 2022. Do you know why this may be the case?

      And since I couldn't find DEBUG, there was no Attach to Process as well. I tried Ctrl + Alt + P. Nothing appeared as well.

      I look forward to your reply.

      Regards

      Kay Wai

      Comment


        #4
        All good Emily. It was a case of missing modules.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,403 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        94 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        6 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X