[Bug 57710] automatic breakpoint at program beginning

jozef.behran at krs.sk jozef.behran at krs.sk
Tue May 13 12:00:13 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=57710     




------- Additional Comments From jozef.behran at krs.sk  2003-05-13 11:59 -------
> This is not general enough (some programing languages don't even have a main)!

When I was using DJGPP, I found a command called "Main function" (I cannot
determine, where, because I don't have DJGPP handy right now, I only guess that
it is under the "Run" pulldown submenu). This command allowed me to enter a name
of a function and then when the debugger was invoked, it ran the program to the
beginning of the function specified by this command and then stopped (like if I
placed the cursor on the beginning of the function, invoked "Go to cursor" and
then returned the cursor where it was before). The default function for this
command was main() (DJGPP is mainly used by C/C++ programmers). I think this can
be very useful in KDevelop too. And I think that this feature is common for all
languages that have functions.

The bug 41166 is about automatically invoking the debugger when user issues the
"Goto cursor" command and I don't think it is a duplicate of this.

Now I found a more general idea how to accomplish my wish, so the RESOLVED
DUPLICATE state is good. See bug 58419 for the more general idea.




More information about the KDevelop-devel mailing list