i know this kind of belongs in the IDE forum, but im having a dickens of a time getting over this issue with netbeans. how do i keep netbeans from stepping into the API sources for such classes as ClassLoader, PrintStream etc... My breakpoints are getting hit ok, but then i "step into", i wan to step into the source for the class method that im calling, not the API stuff
"The Rebel army is now the legitimate property of the Army of the Potomac." - Joseph Hooker spoke these pompous words shortly before he was soundly defeated by Robert E. Lee at Chancellorsville
I am not familiar with netbeans, but most IDE's have a "step-over" option.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Joined: Dec 23, 2002
yes nb has "step over", and that works great in netbeans too. i think however, this is a "general" debugging issue, which is why i posted the question here instead of the ide forum. lets say you have a hypothetical line of code like so: System.out.println("some string " + some_statement); where some_statement is a method call on an object. the object is an instance of a class you have written and want to debug. now most debuggers will allow you to set a breakpoint on that line of code. what im wondering is under what cicumstances will an ide (any ide for that matter) step into the code for the println method vs going right to the code for your class method. see what im getting at ? on one hand it seems correct, because the debugger is just doing what it has been told, but id like to seperate somehow the code i wrote and API code when im debugging. [ January 03, 2003: Message edited by: William Quantrill ]