blob: 00e53c699fae2eaf0701972d6d6f5b161bebce72 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Why don't breakpoints in around advice work?
</title>
<link rel="stylesheet" href="../../book.css" charset="ISO-8859-1" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
</head>
<body>
<h1>
Why don't breakpoints in around advice work?
</h1>
<p>
Around advice is inlined by the weaver by default, which
means that breakpoints set in the declaring aspect are
not detected. To disable inlining
select <strong>Window &gt; Preferences &gt; AspectJ &gt; Compiler</strong>.
Select the <strong>Advanced</strong> tab, then check <strong>No inline</strong>
and click <strong>OK</strong> to apply.
</p>
<p>
<img src="../../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159"> <br>
<a href="../../concepts/debugging.htm">Debugging</a>
</p>
<p><img border="0" width="159" height="27" src="../../images/ngrelt.gif" alt="Related tasks"><br>
<a href="../../tasks/launching.htm">Launching a program with the main method in a class</a><br>
<a href="../../tasks/ajlaunching.htm">Launching a program with the main method in an aspect</a><br>
<a href="../../tasks/aspectpathlaunching.htm">Launching a program with an aspectpath or an outjar</a><br>
<a href="../../tasks/debugging.htm">Debugging a program</a>
</p>
</body>
</html>