|
Hi,
I try to debug a COM dll (TAutoObject) in Delphi and my break point are not green.
I put my option like this :
host : c:\Program Files\Internet Explorer\iexplore.exe param : c:\software\test.html My test is well lanched but no breakpoint in Delphi...
Started by Hugues Van Landeghem on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Which worked fine.d
you have to run the program which launchs the com+ object" to the process running it (iexplorer.exe), but the problem is that that doesn't allow to debug invoked my COM object and used it....
That to debug.
|
|
I have an old C++ COM component which has to stay in Visual Studio 6.0 format. I can't for the life of me figure out how to debug the code in the actual COM component.
I'm able to build it in debug mode, add breakpoints and attach it to the dllhost.exe...
Started by Michael Pryor on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Now, try hitting....
Are you trying to debug inside the COM component?
Was it written in C++, VB, or something else?
If it is a VB6 based COM component, you can open the project in VB6 and run it (a DLL project cannot & registers itself.
|
|
I'm developing a C# assembly which is to be called via COM from a Delphi 7 (iow, native win32, not .net) application.
So far, it seems to work. I've exported a TLB file, imported that into my Delphi project, and I can create my C# object and call its ...
Started by Blorgbeard on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You'll need to attach after the ....
Place the following in the method you wish to debug:
#if DEBUG if (!System.Diagnostics.Debugger.IsAttached) Debugger.Launch(); #endif
When you want to debug, build a debug version and use.
|
Ask your Facebook Friends
|
I'm trying to debug a C DLL that I'm using with a Delphi program. I built the DLL with Visual C++, with debug information enabled. I built the Delphi program with Delphi 2009, with debug information enabled. But apparently they use different formats, ...
Started by Mason Wheeler on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can ....
This isn't a COM component is it? If it is, I'd double check that the debug versionDebug formats are not standardised - basically you can't use Delphi to debug MS compiled code or vice versa.
From the exported symbols.
|
|
Why won't this work? According to iTunes COM help, iTunes OnPlayerPlayEvent function should automatically fire when track is changed....
Code: #Persistent
#SingleInstance, Force
#NoEnv
iTunesApp := ComObjCreate("iTunes.Application")
Return
iTunes_OnPlayerPlayEvent...
Started by D4B5T3R on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at autohotkey):
If I get it right that should do it: Code: #Persistent
#SingleInstance, Force
#... .
If I find one I'll post back.
Search for examples of using ComObjConnect to see what I mean .
You need to use ComObjConnect to link the even collection thing with a handle .
|
|
Is it possible to remotely debug a process started outside VB6?
The application is a VB6 application with quite a few dll/ocx resources. I am attempting to setup a ClickOnce deployment, using Registration-Free COM, of the VB6 app but have been getting...
Started by benPearce on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Also as you say, VB6 sometimes short-circuits calls to COM libraries so, DLLs and OCXs into native code with symbols (create PDB files) and you will be able to debug your.
As the running app when debugging.
|
|
What rarely used debugging tools you found useful ? My recent debugging situation on Visual Studio required trapping the breakpoint on fresh built 32-bit DLL, which was loaded by GUI-less executable, which was spawned by COM+ server on remote x64 machine...
Started by RocketSurgeon on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Server, attaching to the Tomcat process there; and doing it from two different machines to debug two.
|
|
Hi, I would like to know if you guys have any suggestions about debug levels when writing an application. I thought about 4 levels: 0 : No Debug 1 : All inputs and outputs 2 : "I am here" notification from significant functions with main parameters 3 ...
Started by Omri on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Warning-Mode: Enables extra....
Error-Mode: Hard and un-recoverable errors are logged to the console .
Under no circumstances the application will emit anything to the UART or debug-console.
Silent-Mode: Application emits nothing debug-related.
|
|
Hi guys,
i have a c# dll which is written to act as a wrapper to grab data from a data source and pass it to a vba/powerpoint ppa application. i don't have much experience with vba which is why i'm simulating this using vb6 which i know a tiny bit more...
Started by melaos on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Select 'Start external program' and browse to your VB6 project's .vbp file in the... .
Go to the Debug page.
Both Debug Studio for the C# project.
Debugger.Break(); which should force a breakpoint and ask you if you want to attach a debugger .
|
|
I use MSVC++ 2005 x64. Some code work incorrectly in release optimizing mode. So, I want to make test for that code. Problem is, my test code run only in debug mode. (I dont' want mix test code in product code.)
So, Can I declare some part of code to ...
Started by P-P on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://www-01.ibm.com/support/docview.wss?us=993&uid=swg21265414
My first( ++i ); // assertions with actions print_debug( "foo = %d", get_foo()); // function calls that are compiled out #if _DEBUG # speed....
The ones you want here.
|