Summary: | automatic breakpoint at program beginning | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | jozef.behran |
Component: | general | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
jozef.behran
2003-04-25 17:23:55 UTC
This is not general enough (some programing languages don't even have a main)! The 41166 whish is simular, but more realistic. Marking this as a duplicate of that whish *** This bug has been marked as a duplicate of 41166 *** > 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. |