Home » Language IDEs » Java Development Tools (JDT) » Can Eclipse Debugger Log!
Can Eclipse Debugger Log! [message #64701] |
Sun, 22 June 2003 18:31  |
Eclipse User |
|
|
|
Originally posted by: vnssoftware.myway.com
Hi,
Can Eclipse Debugger log each line (or method) it executes between two
breakpoints?
Thanks..
|
|
| | |
Re: Can Eclipse Debugger Log - - Why not?! [message #66808 is a reply to message #66500] |
Wed, 25 June 2003 05:13   |
Eclipse User |
|
|
|
Originally posted by: scheglov_ke.nlmk.ru
vns <vnssoftware@myway.com> wrote:
> I am looking for source code level tracing by the Debugger. Now -
> 1. Suppose there are 20 lines of code between two break points. Can it log
> these if we just resume execution from 1st breakpoint and let it go to 2nd
> breakpoint.
> 2. Can it at least log each line which is manually step over between two
> breakpoints. That is not what I am looking for though, but can it be made
> to do this.
> If the debugger cannot do both these, why- it anyway step overs when
> developer
> steps over.
Well, I think, that debugger have enough information to implement this
feature, may be this will work not very fast, but it will. But it seams,
that nobody else wants this, so you should implement this yourself. :-)
Profiler also could trace not only enter/leave in method, but also
for each line, but I don't have time to implement this.
--
SY, Konstantin.
|
|
|
Re: Can Eclipse Debugger Log - - Why not?! [message #67377 is a reply to message #66808] |
Wed, 25 June 2003 09:19   |
Eclipse User |
|
|
|
Originally posted by: vnssoftware.yahoo.com
Konstantin Scheglov wrote:
> vns <vnssoftware@myway.com> wrote:
> > I am looking for source code level tracing by the Debugger. Now -
> > 1. Suppose there are 20 lines of code between two break points. Can it log
> > these if we just resume execution from 1st breakpoint and let it go to 2nd
> > breakpoint.
> > 2. Can it at least log each line which is manually step over between two
> > breakpoints. That is not what I am looking for though, but can it be made
> > to do this.
> > If the debugger cannot do both these, why- it anyway step overs when
> > developer
> > steps over.
> Well, I think, that debugger have enough information to implement this
> feature, may be this will work not very fast, but it will. But it seams,
> that nobody else wants this, so you should implement this yourself. :-)
> Profiler also could trace not only enter/leave in method, but also
> for each line, but I don\'t have time to implement this.
> --
> SY, Konstantin.
I wish I could take up this. But I am 100% Java only. I guess you require
C skills for this?
Thanks for the encouragement...
|
|
|
Re: Can Eclipse Debugger Log - - Why not?! [message #67397 is a reply to message #67377] |
Wed, 25 June 2003 09:31   |
Eclipse User |
|
|
|
Originally posted by: vnssoftware.yahoo.com
vns wrote:
> Konstantin Scheglov wrote:
> > vns <vnssoftware@myway.com> wrote:
> > > I am looking for source code level tracing by the Debugger. Now -
> > > 1. Suppose there are 20 lines of code between two break points. Can it
log
> > > these if we just resume execution from 1st breakpoint and let it go to
2nd
> > > breakpoint.
> > > 2. Can it at least log each line which is manually step over between two
> > > breakpoints. That is not what I am looking for though, but can it be made
> > > to do this.
> > > If the debugger cannot do both these, why- it anyway step overs when
> > > developer
> > > steps over.
> > Well, I think, that debugger have enough information to implement this
> > feature, may be this will work not very fast, but it will. But it seams,
> > that nobody else wants this, so you should implement this yourself. :-)
> > Profiler also could trace not only enter/leave in method, but also
> > for each line, but I don\'t have time to implement this.
> > --
> > SY, Konstantin.
> I wish I could take up this. But I am 100% Java only. I guess you require
> C skills for this?
> Thanks for the encouragement...
ALso, I really don't understand why they don't want this. It can really
save time in 5000 Java files- you don't have to think where to set
Breakpoint soooo much.
Thanks..
|
|
|
Re: Can Eclipse Debugger Log - - Why not?! [message #67819 is a reply to message #67377] |
Wed, 25 June 2003 23:42   |
Eclipse User |
|
|
|
Originally posted by: scheglov_ke.nlmk.ru
vns <vnssoftware@yahoo.com> wrote:
>> Well, I think, that debugger have enough information to implement this
>> feature, may be this will work not very fast, but it will. But it seams,
>> that nobody else wants this, so you should implement this yourself. :-)
>> Profiler also could trace not only enter/leave in method, but also
>> for each line, but I don\'t have time to implement this.
> I wish I could take up this. But I am 100% Java only. I guess you require
> C skills for this?
In both cases - profiler and Eclipse you need only hava knowledge.
For profiler you will use BCEL to parse class files and change bytecode.
For Eclipse (I am not sure, just guess) you will use debugger interface
to call commands like "step over" and "step into".
--
SY, Konstantin.
|
|
|
Re: Can Eclipse Debugger Log - - Why not?! [message #68334 is a reply to message #67819] |
Thu, 26 June 2003 14:25  |
Eclipse User |
|
|
|
Originally posted by: vnssoftware.myway.com
Konstantin Scheglov wrote:
> vns <vnssoftware@yahoo.com> wrote:
> >> Well, I think, that debugger have enough information to implement this
> >> feature, may be this will work not very fast, but it will. But it seams,
> >> that nobody else wants this, so you should implement this yourself. :-)
> >> Profiler also could trace not only enter/leave in method, but also
> >> for each line, but I don\'t have time to implement this.
> > I wish I could take up this. But I am 100% Java only. I guess you require
> > C skills for this?
> In both cases - profiler and Eclipse you need only hava knowledge.
> For profiler you will use BCEL to parse class files and change bytecode.
> For Eclipse (I am not sure, just guess) you will use debugger interface
> to call commands like "step over" and "step into".
> --
> SY, Konstantin.
That's good to know. If its only Java, I will give it a try:-)
|
|
|
Goto Forum:
Current Time: Fri May 09 03:08:16 EDT 2025
Powered by FUDForum. Page generated in 0.04541 seconds
|