Chromium Code Reviews| Index: runtime/vm/object.cc |
| =================================================================== |
| --- runtime/vm/object.cc (revision 29383) |
| +++ runtime/vm/object.cc (working copy) |
| @@ -4510,7 +4510,9 @@ |
| bool Function::IsInlineable() const { |
| - return InlinableBit::decode(raw_ptr()->kind_tag_) && HasCode(); |
| + return (InlinableBit::decode(raw_ptr()->kind_tag_) && |
| + HasCode() && |
| + !Isolate::Current()->debugger()->HasBreakpoint(*this)); |
| } |