🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.ide.debugger
Article #11

Re: How to skip assembly in debugging mode

#11
From: Jeroen Stiekema
Date: Wed, 24 Nov 2004 08:47
33 lines
2394 bytes
The problem is that I have to step into tenthousands of assembly lines
before I come back to my own code. Normally I can add a new breakpoint to
the next line and press the green playbutton to skip the assembly, but in
this case it is unknown in which line I come back. That's why I need to use
the debugger, because I want to know which code is going to run after the
assembly.
I code a lot in Java-IDE's where you have the option to skip Java-framework
code while debugging. I wonder if the C#Builder has some sort of option to
let the debugger skip the assembly code.

"Marc Rohloff [TeamB]" <"on request"> schreef in bericht
news:1asoh3x6dqcev$.dlg@marcrohloff.40tude.net...
> On Tue, 23 Nov 2004 09:48:05 +0100, Jeroen Stiekema wrote:
>
> > Hi,
> >
> > Is there an option to disable debugging in assembly code? I'm using a
> > activeX component, and it is really nice I have to press f7 for 10 hours
to
> > step into the assembly code, but it is really useless to see the
assembly in
> > debug mode. Is there an option to skip the assembly? I only want to show
the
> > c# code. Can anyone help me?
>
> You should be able to apply the DebuggerHidden or DebuggerStepThrough
> attribute to methods to prevent debugging. I don't know of anything
> that works for a whole assmebly although you could try using the
> Debuggable attribute.
>
> -- 
> Marc Rohloff [TeamB]
> marc rohloff at myrealbox dot com
Technical Details
Message-ID: <41a44a9f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41a2f94a@newsgroups.borland.com> <1asoh3x6dqcev$.dlg@marcrohloff.40tude.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff7e,ba2e56e09079095e
X-Google-Attributes: gid1eff7e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jeroen Stiekema" <developer@winkhem.com>
Newsgroups: borland.public.csharpbuilder.ide.debugger
References: <41a2f94a@newsgroups.borland.com> <1asoh3x6dqcev$.dlg@marcrohloff.40tude.net>
Subject: Re: How to skip assembly in debugging mode
Date: Wed, 24 Nov 2004 09:47:18 +0100
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 213.84.101.17
Message-ID: <41a44a9f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101286047 213.84.101.17 (24 Nov 2004 00:47:27 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail