The issue is I can't debug a DLL file which I'm working on. The DLL compiles and runs just FINE, but i want to watch some values into it.
The thing is, when I set a single breakpoint into code, i get an output log in the debugging view like this:
.
.
.
breakpoints-invalid
Breakpoint 1 at 0x6f0...b13: file MyDll.cpp, line 449
pre-prompt
.
.
.
.
post-prompt
Starting program: C:\TheApp\theApp.exe
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
error
pre-prompt
(gdb)
prompt
... and nothing happens. But, if I remove the breakpoint and click on Debug->Debug, the app runs without problems, but, of course, i can't add any brakpoint at this point.
BTW, I didn't develop theApp.exe, since MyDll.dll is going to be a plugin for that application.
I added -g3 -O0 flags in the compiler options, but it didn't work neither...
Is something missed? What could it be?? I'm really stuck in this.
I hope you can help me.
Blopa09.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
f I remove the breakpoint and click on Debug->Debug, the app runs without
problems, but, of course, i can't add any brakpoint at this point. BTW, I
didn't develop theApp.exe, since MyDll.dll is going to be a plugin for that
application.
The issue is I can't debug a DLL file which I'm working on. The DLL compiles and runs just FINE, but i want to watch some values into it.
The thing is, when I set a single breakpoint into code, i get an output log in the debugging view like this:
.
.
.
breakpoints-invalid
Breakpoint 1 at 0x6f0...b13: file MyDll.cpp, line 449
pre-prompt
.
.
.
.
post-prompt
Starting program: C:\TheApp\theApp.exe
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
frames-invalid
error
pre-prompt
(gdb)
prompt
... and nothing happens. But, if I remove the breakpoint and click on Debug->Debug, the app runs without problems, but, of course, i can't add any brakpoint at this point.
BTW, I didn't develop theApp.exe, since MyDll.dll is going to be a plugin for that application.
I added -g3 -O0 flags in the compiler options, but it didn't work neither...
Is something missed? What could it be?? I'm really stuck in this.
I hope you can help me.
Blopa09.
hi,
f I remove the breakpoint and click on Debug->Debug, the app runs without
problems, but, of course, i can't add any brakpoint at this point. BTW, I
didn't develop theApp.exe, since MyDll.dll is going to be a plugin for that
application.
regards,
phe9oxis,
http://www.guidebuddha.com