Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem Debugging VS 2008

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

    Problem Debugging VS 2008

    I've updated my NinjaTrader to latest version. I uninstalled and reinstalled .NET according to http://blogs.msdn.com/astebner/archive/2008/08/01/8803442.aspx. When I click "Start Debugging" in Visual Studio, I get the following:

    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a 5c561934e089\mscorlib.dll'
    'NinjaTrader.exe' (Managed): Loaded 'C:\Program Files\NinjaTrader 6.5\bin\NinjaTrader.exe'
    'NinjaTrader.exe' (Managed): Loaded 'C:\Program Files\NinjaTrader 6.5\bin\NinjaTrader.Core.dll'
    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms \2.0.0.0__b77a5c561934e089\System.Windows.Forms.dl l'
    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a 5c561934e089\System.dll'
    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0 .0__b03f5f7f11d50a3a\System.Drawing.dll'
    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__ b77a5c561934e089\System.Xml.dll'
    'NinjaTrader.exe' (Managed): Loaded 'C:\Program Files\NinjaTrader 6.5\bin\WilsonORMapper.dll'
    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b 77a5c561934e089\System.Data.dll'
    A first chance exception of type 'System.NullReferenceException' occurred in NinjaTrader.Core.dll
    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration \2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dl l'
    2009-12-18 11:14:02:859 ******************* Session Start (Version 6.5.1000.14) *******************
    2009-12-18 11:14:02:859 Attaching global exception handlers...
    2009-12-18 11:14:02:859 InstallDir='C:\Program Files\NinjaTrader 6.5\'
    2009-12-18 11:14:02:859 UserDataDir='C:\Documents and Settings\Scott\My Documents\NinjaTrader 6.5\'
    'NinjaTrader.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Management\2. 0.0.0__b03f5f7f11d50a3a\System.Management.dll'
    The thread 0xc98 has exited with code 0 (0x0).
    The thread 0xab4 has exited with code 0 (0x0).
    The thread 0xb78 has exited with code 0 (0x0).
    2009-12-18 11:14:04:140 Cbi.Globals.MachineId: True/True
    2009-12-18 11:14:04:140 MachineId='82D8A7DD6A8D003C1243F53F4494A5E0'
    2009-12-18 11:14:04:140 OS='Microsoft Windows NT 5.1.2600 Service Pack 3'/'Win32NT'
    2009-12-18 11:14:04:140 ProcessorCount='2'
    2009-12-18 11:14:04:140 .NET Version='2.0.50727.3603'
    2009-12-18 11:14:04:140 Processor=' Intel(R) Pentium(R) 4 CPU 3.20GHz'
    2009-12-18 11:14:04:140 PhysicalMemory=1024 MB
    2009-12-18 11:14:04:140 Timezone=EST -1 hour(s)
    2009-12-18 11:14:04:140 Creating file type watcher...
    2009-12-18 11:14:04:156 Retrieving license...
    2009-12-18 11:14:04:171 Cbi.Licence.Download5
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded 'jfqsur_8'
    'NinjaTrader.exe' (Managed): Loaded 'C:\Program Files\NinjaTrader 6.5\bin\SMTP.Net.dll'
    2009-12-18 11:14:05:031 Cbi.Licence.ProcessLicense13
    2009-12-18 11:14:05:031 Cbi.Licence.Download99: 'Type=SimulationOnly State=Verified StartDate=5/1/2006 EndDate=12/30/2099 Collective2 Dtn ESignal External OpenTick Provider2 Replay Simulator Yahoo Gain Hosted AdvancedStrategyManagement AutomatedTrading BasicEntry Charting DataConnection SuperDom'
    2009-12-18 11:14:05:031 Starting splash...
    2009-12-18 11:14:05:234 Copying custom DLLs...
    2009-12-18 11:14:05:234 Running Cbi.Globals.Install()...
    2009-12-18 11:14:05:250 WARNING: Session Break (Version 6.5.1000.14)
    2009-12-18 11:14:05:250 Loading server side config file...
    2009-12-18 11:14:05:500 Clearing C:\Documents and Settings\Scott\My Documents\NinjaTrader 6.5\bin\Custom\Tmp...
    2009-12-18 11:14:05:500 Loading C:\Documents and Settings\Scott\My Documents\NinjaTrader 6.5\bin\Custom\NinjaTrader.Custom.dll...
    'NinjaTrader.exe' (Managed): Loaded 'C:\Documents and Settings\Scott\My Documents\NinjaTrader 6.5\bin\Custom\NinjaTrader.Custom.dll'
    2009-12-18 11:14:05:562 Loading C:\Documents and Settings\Scott\My Documents\NinjaTrader 6.5\bin\Custom\NinjaTrader.Vendor.dll...
    'NinjaTrader.exe' (Managed): Loaded 'C:\Documents and Settings\Scott\My Documents\NinjaTrader 6.5\bin\Custom\NinjaTrader.Vendor.dll'
    2009-12-18 11:14:05:578 Creating user defined methods files...
    2009-12-18 11:14:05:578 Instantiating serializers...
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded 'swcod8z8'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded 'ycvl6eut'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded 'efjsi-pq'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded '7aty-cmm'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded 'qsrdjkwb'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded '3gndtwj8'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded 'dtpk-xrn'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded '4vrk-uur'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded '8kgvolfd'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'NinjaTrader.exe' (Managed): Loaded 'kilbzra4'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

    #2
    aascotty,

    I have already answered you in the email support request you sent in.

    What you want to do is outlined here: http://www.ninjatrader-support.com/H...ualStudio.html

    Make sure you compile your NinjaScript after you turn on Debug Mode from within the NinjaScript Editor.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Problem Debugging VS 2008

      It looks like NinjaTrader can't find something associated with the System or .NET files. Please be more detailed in your analysis. I've done everything specified in the Help Guide. Please help me in a way that would make me want to spend the $1000 for the live version of NinjaTrader. I'd hate to think if I was faced with a similiar scenario after spending that kind of money that it would only buy me a referral to the Help Guide from tech support. I also uninstalled and reinstalled .NET according to http://blogs.msdn.com/astebner/archive/2008/08/01/8803442.aspx. My setup was working fine with the previous version Ninjatrader before Version 6.5.1000.14. I just updated my NinjaTrader a few days ago.

      Comment


        #4
        aascotty,

        As mentioned in my email, Visual Studio debugging is unfortunately not supported by us. Use of it is limited to what is outlined in the Help Guide already.

        That being said, you should not be pressing "Start Debugging" as this step was not mentioned in the article. Please just attach the process to NinjaTrader. Then in your NinjaTrader throw the indicator you are debugging onto a chart and it will hit your breakpoints in VS. Be sure you have compiled your NinjaScript assembly after turning on Debug Mode in the NinjaScript Editor before you do this.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by love2code2trade, Yesterday, 01:45 PM
        4 responses
        28 views
        0 likes
        Last Post love2code2trade  
        Started by funk10101, Today, 09:43 PM
        0 responses
        7 views
        0 likes
        Last Post funk10101  
        Started by pkefal, 04-11-2024, 07:39 AM
        11 responses
        37 views
        0 likes
        Last Post jeronymite  
        Started by bill2023, Yesterday, 08:51 AM
        8 responses
        44 views
        0 likes
        Last Post bill2023  
        Started by yertle, Today, 08:38 AM
        6 responses
        26 views
        0 likes
        Last Post ryjoga
        by ryjoga
         
        Working...
        X