Debugging in Vs2005

Hello,
Here i got some debugging Vs problem in Teststand.this is my first time to use Vs2005 in teststand environment.
when i assign the source code in the Edit .Net Call, there is an item named "source file contained Funcion",what should i configure here?
should i configure it as a class which contains the method called? (there is two class and one form in the source code)
Morever,when i make a breakpoint in the TS for the debugging step, when i step into the function(F8) ,there is an error appearing "class not registered", nevertheless, when there is no breakpoint ,it is running ok. what should be the problem?
Thanks a lot
Elvis

You can find the definition of  "source file contained Funcion" in TestStand help:
Source File Containing Function—Contains the pathname of the source file. You must specify an existing source file. You can enter an absolute or relative pathname. Relative pathnames are relative to the TestStand search directory paths.
About the "class not registered" error, can you provide the exact error number? Maybe the following links are useful:
http://digital.ni.com/public.nsf/websearch/A92CF6B69941B35D862568D900693DF5
http://digital.ni.com/public.nsf/allkb/901B5E1C33A102A18625671C007C501F?OpenDocument

Similar Messages

  • Debugging symbols

    Hello everyone.
    Where can I find debugging symbols, for example for public.dll, which is loaded by InDesign.exe ?
    I found that CS3 SDK contains sources for large amount of classes in (SDK)\source, but I CAN'T perform StepInto, while debugging in VS2005. In CallStack window i can see some dlls, but I can't watch the call stack tree items contents, except for my plug-in.
    And, for example, I want to see how CmdUtils are executed, but all I can see is header file for it.
    Adding (SDK)\source dir to "Tools->Options->Project and Solutions->VC++ Directories->Source Files" also doesnt help, because I cant find any *.pdb neither in SDK dir, nor CS3 InDesign Debug installation directory.

    Ernesto,
    SDK does not ship symbol, what you see in debugger is consistent with what other see when you develop with the SDK.
    Regards,
    Lee

  • A network related or instance specific error when I run VS2005 application

    I am new to programming, I am a system and network engineer so not much understanding in coding. I have an application which has been created in VS2005 .net which has an sql database. The SQL server version is 2000 which is running on Windows 2003 serer.
    This application is running fine on existing Windows XP machines. But I have tried to installed on new Windows XP, 7 and 8 PC's but all the clients getting error "A network related or instance specific error.........error 40 could not open a connection
    to SQL server. I have tried to connect the sql server with an UDL file and I can connect successfully. Also installed VS2005 and able to connect the SQL server successfully but some reason the application cannot connect to the sql server. My exe.config connection
    string as follow (this connection string works fine with the exiting windows XP PC's).
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <configSections>
      </configSections>
      <connectionStrings>
        <add name="xxx.MySettings.SQLConString" connectionString="server=10.0.0.23;database=XXX;Persist Security Info=True;User ID=sa;Password=password"
          providerName="System.Data.SqlClient" />
        <add name="xxx.MySettings.OLEConString" connectionString="Provider=SQLOLEDB;server=10.0.0.23;Persist Security Info=True;Password=password;User ID=sa;database=XXX"
          providerName="System.Data.OleDb" />
        <add name="xxx.MySettings.ConnectionString" connectionString="Provider=SQLNCLI.1;server=10.0.0.23;Persist Security Info=True;Password=password;User ID=sa;database=XXX"
          providerName="System.Data.OleDb" />
        <add name="xxx.MySettings.WGCConnectionString" connectionString="server=192.0.0.23;database=XXX;Persist Security Info=True;User ID=sa;Password=password"
          providerName="System.Data.SqlClient" />
      </connectionStrings>
      <appSettings>
        <!--   User application and configured property settings go here.-->
        <!--   Example: <add key="settingName" value="settingValue"/> -->
      </appSettings>
    </configuration>
    We have two sites, IP 10 range is the head office and 192 is a sub office and both sites using same application but different databases.
    Please help!
    Thanks
    Kumar

    Debug 
    'MyApps.exe': Loaded 'C:\MySuite\MySuite\bin\MyApps.exe', No native symbols in symbol file.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86\msvcr80.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Culture.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Culture.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\dae02331a443fb52216ca83292cb2f21\mscorlib.ni.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msctf.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\Program Files\TeamViewer\Version9\tv_w32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\MySuite\MySuite\bin\MyApps.exe', Symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\4b0455ae94e3cecca4bb3ba8c96828c9\System.ni.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Drawing\424bff3295c6e7539cc6df62b9425bd0\System.Drawing.ni.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\1cdfe1998ad6794db3237006906c6fa2\System.Windows.Forms.ni.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualBas#\aa86b1a0c9a5bd2a973bef106c0461f9\Microsoft.VisualBasic.ni.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Data\af8afdcab485e00a04b18ed487981f3d\System.Data.ni.dll', No symbols loaded.
    'MyApps.exe': Loaded 'System.Data.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'System.Data.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Configuration\4b6e70acd99dc22e29b7fc8f9ac340c4\System.Configuration.ni.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Xml\7faf645dc46781225cb722edf9e1e738\System.Xml.ni.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.23084_x-ww_f3f35550\GdiPlus.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
    'MyApps.exe' (Managed): Loaded 'C:\MySuite\MySuite\bin\en\MyApps.resources.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Transactions\7e310942e6e9a5d623e003130ec3d9bd\System.Transactions.ni.dll', No symbols loaded.
    'MyApps.exe': Loaded 'System.Transactions.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'System.Transactions.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\sxs.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\comres.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\Program Files\Common Files\System\Ole DB\oledb32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msdart.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\comdlg32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\Program Files\Common Files\System\Ole DB\oledb32r.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\Program Files\Common Files\System\Ole DB\sqloledb.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\Program Files\Common Files\System\Ole DB\msdatl3.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\comsvcs.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\colbact.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\mtxclu.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\clusapi.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\resutils.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\userenv.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\dbnetlib.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\security.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msapsspc.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msvcrt40.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\msapsspc.dll'
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\msvcrt40.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\schannel.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\schannel.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\digest.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\digest.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msnsspc.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msvcrt40.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\msnsspc.dll'
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\msvcrt40.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\msv1_0.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\cryptdll.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\ntdsapi.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\schannel.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\rsaenh.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\dssenh.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.EnterpriseSe#\78e7a4c3acd1a345c4ef1f73ff48a1dd\System.EnterpriseServices.ni.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'ImageAtBase0x10000000', No symbols loaded.
    'MyApps.exe': Unloaded 'ImageAtBase0x10000000'
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.EnterpriseSe#\78e7a4c3acd1a345c4ef1f73ff48a1dd\System.EnterpriseServices.Wrapper.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MyApps.exe': Loaded 'ImageAtBase0x11000000', No symbols loaded.
    'MyApps.exe': Unloaded 'ImageAtBase0x11000000'
    'MyApps.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorsec.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\riched20.dll', No symbols loaded.
    'MyApps.exe': Unloaded 'C:\WINDOWS\system32\riched20.dll'
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\cryptnet.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\psapi.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\sensapi.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\winhttp.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\MySuite\MySuite\bin\C1.Win.C1TrueDBGrid.2.dll', Binary was not built with debug information.
    'MyApps.exe' (Managed): Loaded 'C:\MySuite\MySuite\bin\C1.Win.C1TrueDBGrid.2.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll', No symbols loaded.
    'MyApps.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Accessibility\06b454361516e65eca55a743cd93cefc\Accessibility.ni.dll', No symbols loaded.
    'MyApps.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    *** HR originated: -2147024774
    ***   Source File: d:\iso_whid\x86fre\base\isolation\com\copyout.cpp, line 1302
    *** HR propagated: -2147024774
    ***   Source File: d:\iso_whid\x86fre\base\isolation\com\enumidentityattribute.cpp, line 144
    'MyApps.exe': Loaded 'C:\WINDOWS\system32\mslbui.dll', No symbols loaded.
    The thread 'Win32 Thread' (0xc20) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x9b4) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x1464) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x6a8) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xdf4) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x1110) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xc04) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x1188) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xd9c) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x153c) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x10d8) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x914) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0x175c) has exited with code 0 (0x0).
    The program '[5412] MyApps.exe: Managed' has exited with code 0 (0x0).
    The program '[5412] MyApps.exe: Native' has exited with code 0 (0x0).
    The program '[5412] MyApps.exe: T-SQL' has exited with code 0 (0x0).

  • OCCI working in VS6.0 and giving error in VS2005 - Please help

    I am trying to recompile one of the OCCI program I have created in VS6.0, in VS2005. I am ending up with errors.
    During
    env = Environment::createEnvironment (Environment::DEFAULT);
    lot of DLLs (oranro10.dll, orantcp10.dll,oranhost10.dll, ORANCDS10.DLL, orantns10.dll, ORAPLS10.DLL,ORASLAX10.DLL, ORAPLP10.DLL, orahasgen10.dll etc...) are saying Cannot find or open a required DBG file.
    During
    conn = env->createConnection (user, passwd, db);
    Unhandled exception at 0x612f89e9 in occitrail.exe: 0xC0000005: Access violation reading location 0xcccccccc.
    Whether any body has idea why this error is happending and What I have to do for not to get this error.
    Thanks in advance for your help,
    Chandra.

    Hello,
    to be on the safe side I advise to do :
    - install Oracle 10.2.0.3.0 Instant Client (not sure whether version 10.1. is causing the problem with your OCCI software)
    - install the OCCI 10.2.0.3.0 Patch 13
    - clean & rebuild your application linking the oraocci10.lib or oraocci10d.lib (debug version) provided with the patch
    The problem of your application could be caused by different runtime versions of the microsoft mfc/crt runtime libraries used by your main program and occi dll. - Welcome to DLL/Manifest hell ;-)
    You can have a look at the manifest file you got with the OCCI patch, there you see which runtime DLLs OCCI is expecting.
    You can check which Microsoft runtime DLLs are loaded using the software 'dependency walker'. Just make sure ONLY one version of the runtime will be loaded (e.g. mfc80.dll, msvc80.dll ... VC80 versions are used with VS2005).
    Check if your application is loading the new, patched OCCI DLL (oraocci10.dll) not some old ones....
    http://www.dependencywalker.com/
    Good luck
    Horst

  • "Thead is being stopped" while in debug mode

    Many DI-API objects (Journal Entries, Goods Issues, to name a couple), cannot be debugged under Visual Studio 2003 (VB.Net). I constantly get the "Thread is being stopped" error, but the code works fine if I don't set any breakpoints.
    It seems to happen more often when I hover over DI-API objects. This, as you may know, tries to pull the data behind the object in a tooltip. I have always attributed this problem to COM and using Interops to get to the methods, but it is getting really annoying. Does anybody else out there have this problem? Have you been able to solve it?
    Thanks in advance.
    Carlos

    Carlos, 
    You are right that it will happen most often when you have a breakpoint on a line that uses a ui/di object, and often when you try to debug those objects.  It can also happen if you have a watch window open that has a b1 object in the list. 
    The only way to completely avoid it (in vs2003) I think is to issue console.writeline's to display the value of the b1 object properties that you're trying to view.  I never have problems debugging non-b1 variables. 
    I also do not get that message in vs2005.

  • VS2005 CR deployment issues

    I'm working on an project that requires me to upgrade an existing Crystal Reports .NET 1.1 applications to .NET 2.0 using VS2005 Professional.  The conversion process runs smoothly, and the application works properly on my local machine, but when I deploy the application to a remote test server, there are many errors when trying to create the required reports.  The test server is a Windows 2003 Server, with both .NET 1.1 and .NET 2.0 installed.  Also, I installed CRRedist2005_x86.msi on the server.
    Following is a snapshot of the error produced:
    Event Type:     Error
    Event Source:     ASP.NET 2.0.50727.0
    Event Category:     None
    Event ID:     1334
    Description:
    An unhandled exception occurred and the process was terminated.
    Application ID: /LM/W3SVC/1330659977/Root
    Process ID: 5248
    Exception: System.TypeInitializationException
    Message: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    StackTrace:    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Finalize()
    InnerException: System.IO.FileNotFoundException
    Message: Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 8007007e.
    StackTrace:    at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
    On the web page, the following exception is visible:
    The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    I'm guessing it has something to do with the fact that the version of Crystal Reports on the server is 9.1.5000.0, and the application being deployed uses 10.2.3600.0, but cannot find any viable solution to the situation.
    Any help would be greatly appreciated as I'm EXTREMELY confused.  Thanks.

    If your web.config file doesn't reference Crystal Reports assemblies then there is something wrong with your project. There is a chance you might not be using the runtime files you think you are using. You'll need to find out what runtime files your application has loaded on your development and production systems.
    You can find out this info by using a utility called [modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] from our download site.
    Run this while your application is executing and look at the w3wp.exe or aspnet_wp.exe processes. You'll want to see what version of CrystalDecisions.xxx.dll are loaded. If you find anything but 10.2 files then you aren't using what you expected.
    Here is an example of a web.config file from a new project using Crystal Reports for Visual Studio .NET 2005.
    <?xml version="1.0"?>
    <!--
        Note: As an alternative to hand editing this file you can use the
        web admin tool to configure settings for your application. Use
        the Website->Asp.Net Configuration option in Visual Studio.
        A full list of settings and comments can be found in
        machine.config.comments usually located in
        \Windows\Microsoft.Net\Framework\v2.x\Config
    -->
    <configuration>
         <appSettings>
              <add key="CrystalImageCleaner-AutoStart" value="true"/>
              <add key="CrystalImageCleaner-Sleep" value="60000"/>
              <add key="CrystalImageCleaner-Age" value="120000"/>
         </appSettings>
         <connectionStrings/>
         <system.web>
              <!--
                Set compilation debug="true" to insert debugging
                symbols into the compiled page. Because this
                affects performance, set this value to true only
                during development.
            -->
              <compilation debug="true">
                   <assemblies>
                        <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies></compilation>
              <!--
                The <authentication> section enables configuration
                of the security authentication mode used by
                ASP.NET to identify an incoming user.
            -->
              <authentication mode="Windows"/>
              <!--
                The <customErrors> section enables configuration
                of what to do if/when an unhandled error occurs
                during the execution of a request. Specifically,
                it enables developers to configure html error pages
                to be displayed in place of a error stack trace.
            <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
                <error statusCode="403" redirect="NoAccess.htm" />
                <error statusCode="404" redirect="FileNotFound.htm" />
            </customErrors>
            -->
              <httpHandlers><add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers></system.web>
    </configuration>

  • Adobe InDesign CS4 Debug WIN Installation

    I need to port an InDesign CS3 plugin to InDesign CS4. In order to do that I've installed the Adobe InDesign CS4 Debug WIN but when I'm trying to start the application I receive the following error message in German: "Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu installieren.". In english this should mean something like "This application has failed to start because the application configuration is incorrect. Try to reinstall the application.".
    The box I've tried installing on has visual studio C++ 2005 SP1 and InDesign CS3 Debug already installed (which works fine). I've looked through the requirements in the "InDesign® CS4 Read Me" and couldn't find anything that I'm missing.
    Any ideas?
    Thanks in advance.

    Hi Folks,
    ID CS4 Debug and ID CS3 Debug can be installed on the same system. The likely reason that the CS4 version is giving that error is because the CS4 version needs some Visual Studio 2005 SP1 DLLs that aren't installed on the computer.
    I believe that there are a couple of ways to fix this. One is to install Visual Studio 2005 SP1 (the recommended setup for CS4 plug-in development). When you install SP1 the DLLs needed by ID CS4 Debug will be installed. The other way, I think, is to not SP1, but install the release version of ID CS4 on your system. I understand that the ID CS4 Release version installer will install the DLLs needed by the debug version.
    However, if you use VS2005 (no SP1 installed) for CS4 plug-in development you will not be using the recommended development environment for CS4. But if you install SP1, and you want to develop plug-ins for CS3, you will not be using the recommended development environment for CS3 plug-in development. Go figure.
    Please note that once you install VS2005 SP1, any plug-ins that you compile will be looking for the SP1 version of the C/C++ Runtime DLLs when the plug-in is launched. The needed DLLs will be on your development system, so everything will seem fine when you test your CS3 plug-ins on your development computer. But when the plug-in is launched on a machine without the SP1 DLLs installed, the plug-in will not run.
    I'm not sure of the best way to deal with this (I'm mainly a Mac guy), but there was a thread here entitled
    Visual Studio 2005 SP1 about this issue a while back. This thread was partially deleted due to a forum software problem, and one of the ideas that was mentioned was lost from the message thread. Below are the useful (IMHO) missing messages (sent to me by Dirk Becker), who follows the forum using email.
    [Ugh! I told Dirk I would write up a Wiki entry for this, but work happened and I haven't gotten to this yet. :-( ]
    =========
    MISSING MESSAGES FROM THE THREAD: "[IDCS3 WIN] Visual Studio 2005 SP1"
    =========
    FROM: Eugenio Andres
    Hi Jim,
    From your original error message, the problem is most likely with the installation of the C/C++ SP1 runtime DLL on the machine that does not have the compiler. It's not so simple nowadays as copying over the DLLs, because Microsoft invented the side-by-side system, that allows having several versions of the same file on one machine.
    Your options are installing the runtime on each machine (a package for that is available from Microsoft Download) or changing your project to the static runtime ("Multithreaded" instead of "Multithreaded DLL"). I always use static linking in plugins with no problems, although Adobe specifies dynamic in their instructions, but you avoid these "DLL hell" problems.
    Regards,
    Eugenio Andres - www.ExpertosInformaticos.com
    =====
    =====
    FROM: Jim Birkenseer
    Hi Eugenio,
    Thanks for the information.
    So, are you saying that I simply have to go into my Plug-In's property page in VS2005 SP1 and change the C/C++ Code Generation from Multi-threaded DLL (/MD) to Multi-threaded (/MT) and rebuild the project? What are the downsides of doing this--or are there any?
    <...SNIP...>
    -- Jim
    =========
    =========
    FROM: Eugenio Andres
    Hi Jim,
    You're welcome.
    Yes, that project change should do it. The difference is that with the "DLL" version, your plugin loads the C/C++ runtime shared library (DLL) at runtime and calls it for any needed functions (like strcpy, malloc, etc.). Without the "DLL", the linker puts the C/C++ runtime code directly into your plugin and you don't need the C/C++ runtime SP1 DLL (the error you're getting is because your plugin required the DLL and it's not found on that machine).
    The C++ SP1 runtime shared library is different from the C++ non-SP1 library InDesign uses. In this new Windows "side-by-side" scheme, both can live together.
    If you use the exact same C/C++ runtime that Adobe uses, then that library is physically shared and it allows to do some "risky" things as e.g. allocating memory in one module (e.g. InDesign) and freeing it in another (e.g. your plugin). But this is usually not recommended and I don't think Adobe is doing it (but then it's only my impression from the code structure).
    Anyhow, from the moment you use the SP1 compiler, you're not sharing the runtime any more with InDesign, so it doesn't matter if you compile "MultiThreaded" instead of "MultiThreaded DLL". The difference between these is the size of the plugin and the easyness of distribution, and without DLL you miss possible "automatic" updates of the C++ runtime DLL (because the C/C++ runtime code is embedded in your plugin), but lately new versions of the C/C++ runtime become "different" DLLs, as you can see, so that's not so relevant any more - or if it's critical, you can always recompile your plugin and redistribute if needed.
    You can find a brief description of SP1 in
    http://msdn2.microsoft.com/en-us/vstudio/aa718695.aspx
    It looks like minor non-breaking changes to me, but one never knows...
    Cheers,
    Eugenio Andres - www.ExpertosInformaticos.com

  • Debug/release mode

    Hai guys
    im fresher to after effects plugin development, when i open the cs3 sdk project samples in vs2005, i didnt get any option to release build the project, i can find only debug mode
    do we need to release build the project to use the plugin in other computers or we can use the debug version itself
    thankyou

    these are a couple of threads dealing with this issue.
    http://forums.adobe.com/thread/398100?tstart=120
    http://forums.adobe.com/thread/398106?tstart=120
    if these don't help, post back and i'll try to help.

  • Debugging of packages on XE10 / ODT11 doesnt seem to work

    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    ODT 11.1.7.20
    Microsoft Visual Studio 2008
    Version 9.0.21022.8 RTM
    Microsoft .NET Framework
    Version 3.5 SP1
    Installed Edition: Professional
    Microsoft Visual Basic 2008   91605-270-0762051-60359
    Microsoft Visual Basic 2008
    Microsoft Visual C# 2008   91605-270-0762051-60359
    Microsoft Visual C# 2008
    Microsoft Visual C+ 2008 91605-270-0762051-60359+
    Microsoft Visual C+ 2008+
    Microsoft Visual Studio 2008 Tools for Office   91605-270-0762051-60359
    Microsoft Visual Studio 2008 Tools for Office
    Microsoft Visual Web Developer 2008   91605-270-0762051-60359
    Microsoft Visual Web Developer 2008
    Crystal Reports    AAJ60-G0MSA4K-68000CF
    Crystal Reports Basic for Visual Studio 2008
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899)   KB944899
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/944899.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB945282)   KB945282
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/945282.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946040)   KB946040
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/946040.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946308)   KB946308
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/946308.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946344)   KB946344
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/946344.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946581)   KB946581
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/946581.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171)   KB947171
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/947171.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947173)   KB947173
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/947173.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180)   KB947180
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/947180.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947540)   KB947540
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/947540.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947789)   KB947789
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/947789.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127)   KB948127
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/948127.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB952241)   KB952241
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/952241.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB953256)   KB953256
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/953256.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB971091)   KB971091
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/971091.
    Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB973674)   KB973674
    This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/973674.
    Oracle Developer Tools for Visual Studio   11.1.0.7.20
    Oracle Developer Tools for Visual Studio Copyright (c) 2005, 2009
    +.NET Reflector+
    Visual Studio add-in that integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them.
    Visit www.red-gate.com for more information.
    Copyright (c) 2009-2010 Red Gate Software Inc.
    Xsd2Code
    For more information about , see the  website at
    http://www.codeplex.com/Xsd2Code
    Copyright (c) Pascal Cabanel 2009  Inc.
    I followed all instructions here http://cshay.blogspot.com/2006/07/plsql-debugger-in-visual-studio.html
    (even the application debugging ones which I didnt think I'd need)
    I've set breakpoints and Run Debug. I've also tried Step Into
    Visual Studio just hangs..
    If I set a breakpoint in the C# app code, press play, I see that my PLSQL breakpoints are invisible circles with warning messages "No breakpoints will be hit: no symbols loaded"
    Packaged procedures just run without breaking on point
    ODT10 and VS2005 used to allow me to debug..

    (always have to ask about the debug :)
    have you tried it in developer? may be a DEBUG CONNECT SESSION privilege (see below)
    also Check this:
    tools-> Options -> Oracle Developer Tools -> pl/sql Debugging--> is the correct database connection selected
    http://www.oracle.com/technology/software/tech/dotnet/odt10202rn.html
    snippet...
    Configuring PL/SQL debugging for first use
    Please see the online help for information detailing what configuration steps are required before PL/SQL debugging is possible. This includes the following database side configurations:
    * The database must be an Oracle database release 9.2 or later.
    * Requirements for Oracle Database 10g Release 1 (10.1) and later:
    o The connected user must have the DEBUG CONNECT SESSION privilege to connect to a debugger, for example, GRANT DEBUG CONNECT SESSION TO HR.
    o The connected user must have the DEBUG ANY PROCEDURE privilege to debug any PL/SQL program or have DEBUG and EXECUTE privileges on the PL/SQL program being debugged, for example, GRANT DEBUG ANY PROCEDURE TO HR.
    * Requirements for Oracle9i Release 2 (9.2):
    o The connected user must have the DEBUG ANY PROCEDURE privilege, for example, GRANT DEBUG ANY PROCEDURE TO HR.
    For additional information on troubleshooting PL/SQL debugging problems, see "Features Not Covered By Documentation" below.

  • PL/SQL debugging problem: Connect failed because target host or object does

    hi all,
    I installed ODT 10.2.0.2.20 and I'm trying to debug a SP in VS2005. I have followed the instructions at http://cshay.blogspot.com/2006/07/plsql-debugger-in-visual-studio.html
    I am able to debug SP using the "Run debug" in the Oracle Explorer however I am not able to get any "live data" debugging working in a Winforms application.
    my problem is that whenever my application tries to open a connection I get the following error message:
    ORA-30683: failure establishing connection to debugger
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP_CUSTOM", line 59
    ORA-06512: at line 1
    The db machine is running Oracle 9i release 2
    Any help will be really appreciated.
    Thank you

    Hi cshay,
    first of all thank you for your reply. Unluckily I
    have the same problem also with console applications.
    Checking or unchecking the "enable Visual Studio
    Hosting Process" flag (in both projects) doesn't seem
    to change the situation :(
    Forgot to say that I am not behind a firewall.Well, if it fails with a console app, then it wasn't the bug I was thinking of.
    There is one other bug that sometimes catches people... you can follow along the steps I provided in this thread and see if ORA_DEBUG_JDWP is getting corrupted as it is passed from Visual Studio to the database:
    Re: ODT 10.1.0.2.0 on Visual Studio 2003 problem

  • Example of using VS2005 as the external compiler

    I have seen that CVI 8.1 has "External Compiler Support" and even several questions indicating that users have done this. But I find that the instructions on how to do this are vague. There is nothing quite like a real life example.
    I've already seen that in the Options --> Build Option dialog, I need to select compatibility with Visual C/C++ and the compiler for the release configuration is vc2005. But then there is a list of compiler defines. I understand that there are typically many others than just /DWIN32_LEAN_AND_MEAN. What are they? How do I know? Do I need WINVER? Am I going to need to include some specific headers?
    In the Build --> "External Compiler Support" the UIR Callbacks has several options, but no explanation of what this is about. The Help page is clearly written under the assumption that the user has done this before and the Help page is just some brief reminders. If I select None, does that mean no UIR? If I select Source, do I have to supply it? Same with Object. Some of the documentation seems to indicate that using LoadExternalModule isn't really an option. So why is there a checkbox? If I check it, what do I need for the Other Symbols?
    How do I build the Debug version with the external compiler?
    How do I force the linker to produce a .PDB file (which is really the whole point of this exercise)? Even in the release version?
    I do I suppress boring error messages? Using #pragma?
    Sorry to be so long winded, but there's nothing quite like a working example. Something as simple as a textbox with "Hello, World!" and a button would be very helpful.
    Thanks for your help!
    -- Harold Bamford

    Hassan A wrote:
    Can you please explain a little bit more on what you mean by forcing the linker to produce a .PDB file?
    I am making CVI programs that use a DLL produced by Visual Studio 2005. In that DLL, I can often detect terrible situations and as part of the error reporting, I produce a minidump (.dmp) to be used with WinDbg or other debugger. Mostly to get a usable stacktrace and check variable values.
    However, the resulting .dmp file is unusable as there is no program database (.PDB) for the CVI application. I figured I would use VS2005 as the external compiler and remove the "/c" flag so that Visual Studio would perform the link. And I would pass other flags to force a .PDB file to be generated.
    It turns out that this is extremely awkward. Apparently the call to the compiler is in a temp file with a temporary filename as the .c to compile.
    I wish I could get access to the code that does this, but I know how likely that is.

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?

    Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; I get the "end program" message and have to say "end now"it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?
    - I've used Firefox exclusively for around 2 years.
    - My outlook express has no problems
    - other programs seem unaffected; it seems peculiar to Firefox.
    - my main use is surfing the net, primarily entering competitions on line via specialist competition sites.
    - every day at some stage(s) I have to switch computer off as Firefox has got very slow/sticky/freezes.
    I'm not techy by any means, but I can only thing of un- and re-installing to hopefully start with a clean slate.

    Sounds like something is keeping Firefox from closing properly. See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • ERROR while debugging a SELECT..ENDSELECT

    Hello All,
    We get an error while we go into the select..endselect loop during debugging. Because of this if we try to do some research on existing program with Select-endselect..it fails in the second pass of this loop.
    This problem was not there earlier, but after we upgraded from 4.6 to 4.7 this problem is bugging us..every day. Does any one have a clue why ?
    Thanks!!
    Regards,
    Vishal

    Hi,
      debugging a SELECT...ENDSELECT statements brings to a LUW commit work if no other work processes are available for debug.
    See OSS notes 675, 2104.
    From OSS note 675 **********************************
    Cause and prerequisites
    Chain of causes:
          1. There is a statement in one of the Select loops, that leads to a database Commit (or Rollback).
          2. A database Commit causes the database to lose the cursor.
          3. The system cannot automatically continue within Select loop after loss of cursor.
    Following statements lead to a database Commit:
        * All statements that cause a change of screen (CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, I/W-Message)
        * BREAK-POINT/ Debugging
          . if no debug process free
          . always after regeneration (in order to release generation lock).
        * WAIT Here a work process is released and a Commit is executed.
        * COMMIT WORK/ROLLBACK WORK
    From OSS note 2104 **********************************
    Solution
    The "COMMITWORK" message appears in the ABAP debugger when programs
    orscreensrequireregeneration,or when not enough free capacity
    is available inthesystem (or else the debugger blocks a system
    process).
    Normallyonly one work process is released for debugging. This
    isgenerally insufficient ina developmentsystem, as processes
    can be blocked for other reasonstoo(background processing,
    CPI-C connections,andso on).
    The number of work processes made available for debugging can
    be configured using the profileparameter
                      rdisp/wpdbug_max_no
    Forexample:
                    rdisp/wpdbug_max_no = 10
    setsthe maximum number of work processes made available for
    debuggingto 10. It may be necessary to generally increase the
    numberofwork processesatthis time (parameter rdisp/wp_no_dia).
    In all other known cases, an error in the application program is
    involved.
    Regards, Manuel

  • DID YOU KNOW?: Debugging with BC4J Tester

    Did you know that in JDeveloper 3.2, you can run the BC4J tester in debug mode to exercise your business components and hit breakpoints at the same time?
    Just do the following:
    [list]
    [*]Expand the navigator node for your Application Module, revealing its XML and Java implementation files.
    [*]Right-mouse on the YourAppModImpl.java file, and select Debug...
    [list]
    By default, it will debug using the "local mode" connection configuration. If you want it to debug using a difference configuration, just change the configuration name that appears as the 2nd argument in the launchTester call in the main() method of the application module implementation file.

    grin Thanks, Steve.
    Does this mean that in JDev 5.0 we're going to see an animated Steven Muench head in a tiny window in the lower corner, occassionally tapping on the glass to offer us hints?

Maybe you are looking for

  • @Inserting Records in an Internal Table

    Hi, How can I Insert records in an internal table..such that i can insert the records somewhere in the middle based on the entry in a field?

  • HP psc750xi

    I have two of these all-in-ones, one at home and one at work.  I have never had a problem until the last few months.  If I try to print from a receipt window, shopping list window or an attachment window - it will not print.  Printer makes noise only

  • 3310 all in one won't print colors correctly

    I've cleaned printhead lots of times and print self test.  The print quality pattern is only printing black color bar (it looks gray) and Yellow (which looks green).  None of the other boxes print.  All ink is genuine HP (always has been) and are not

  • Need help w java program

    i have to writea java program. write a java program to make change when an item that costs less than a dollar is purchased and the buyer gives the seller a one dollar bill. the goal is to provide the buyer as few coins as possible in the change. the

  • Installing Photoshop Elements 13 for Mac OS

    Just record Photoshop Elements 13.  I have a Mac (OS X Yosemite 10.10.1).  Adobe Flash is up to date.  When I insert the disk, it runs for a few seconds, then ejects automatically.  The installation does not initiate.