User forums > Help
compiler/debug problem with adding flag option (no debugging symbols found)
Tommi:
--- Quote from: BlueHazzard on March 12, 2017, 09:21:07 pm ---why do you use bcc and not gcc?
--- End quote ---
Thanks for the answer! Our Prof. want us to use Borland BCC ....
EDIT:
After a short look it seems that there is no command to creat such a "Symbol Table"? Am i right?
Jenna:
Did you try -v (instead of -g) ?
http://docwiki.embarcadero.com/RADStudio/Berlin/en/C%2B%2B_Compiler_Debugging
Tommi:
--- Quote from: jens on March 12, 2017, 10:14:49 pm ---Did you try -v (instead of -g) ?
http://docwiki.embarcadero.com/RADStudio/Berlin/en/C%2B%2B_Compiler_Debugging
--- End quote ---
Well, this option is listed as "debug on, inline expansion off", unfortunately i can't switch from "Release" to "Debug" without getting this error message:
--- Code: ---Error: Unresolved external '_strtod' referenced from D:\PROJEKTE\CODE_BLOCKS\COMPLEXE_RECHNUNG\OBJ\DEBUG\INPUT.OBJ
--- End code ---
in fact string.h is included. In "Release" mode this error doesn't appear.
EDIT: Figured the undo of the checkbox out on my own.
EDIT 2:
With the -v the log show
--- Code: ---Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0
--- End code ---
BlueHazzard:
I don't know, but is it possible to use gdb for debugging bcc applications?
You messed something up in the project settings... Easiest way would be to create a new project and copy the souces.
Is your application created? What is under Project->Properties->Build target->Debug->Output File name?
Tommi:
It could be possible, that something went wrong. I should creat a new project.
Anyway, i tested the -v option on another pc, with right settings. This option doesn't creat a symbol table, so debug is still not working with -v.
The output file name is "Complexe_rechnung.exe" like the project is called.
Seems the debug is not working with Borland. For simple projects i can still use "printf" ;D
Thanks for helping anyway, guys :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version